-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  C:\Users\mdnieman\Dropbox\Spatial Tax Policy\TCN2014_PSRM replication\tables1&2.log
  log type:  text
 opened on:  18 Dec 2014, 18:06:26

.                 /************************************************************************/
>                 /*      Author:         Olga Chyzh/Mark Nieman                                                  */
>                 /*      Date:           February 3, 2013                                                        */
>                 /*      File:           tax_analysis02.do                                                       */
>                 /*      Purpose:        Analysis for the Spatial Tax paper, after R&R at PSRM. will add oil, rivalry, and robustness    */
>                         /*      Input File:             tax_data05.dta, spreg1.ado                      */
>                 /*      Output File:    tables1&2.log, table*           */
>                 /************************************************************************/
>                 
>         clear matrix;

.         clear mata;

.         *set mem 4g;
.         set     matsize 11000;

.         program drop _all;

.         do spreg1.ado;

. 
. 
. 
. program drop _all

. 
. program define spreg1, eclass
  1.         version 9.0
  2.         syntax varlist [if] [in] , SPAtialvars(varlist) ID(varname)ROWID(varname) COLID(varname) [ Time(varname) SPATime(varname) ROBUST N OLOG PREMADEW * ] 
  3.         preserve 
  4.         marksample touse
  5.         mlopts mlopts, `options'
  6.         gettoken y rhs : varlist                                
  7.         
.         tempvar uniqueid rid cid 
  8.         gsort - `touse'
  9.         qui gen `uniqueid'=_n if `touse'
 10.         qui sum `uniqueid'
 11.         local max = r(max)
 12.         qui count if `touse'
 13.         local d = r(N)
 14.                 
.         display in yellow "Building ID markers..." _continue
 15.         
.         if "`time'" ~= "" {
 16.                 qui gen `rid' = .
 17.                 qui gen `cid' = .
 18.                 forvalues i = 1/`max' {
 19.                         qui levelsof `id' if `uniqueid'==`i', local(unitid)
 20.                         qui levelsof `time' if `uniqueid'==`i', local(timeid)
 21.                         qui replace `rid' = `i' if `rowid'==`unitid'&`spatime'==`timeid'
 22.                         qui replace `cid' = `i' if `colid'==`unitid'&`spatime'==`timeid'
 23.                 }
 24.         }
 25.         
.                 
.         if "`time'" == "" {
 26.                 qui gen `rid' = .
 27.                 qui gen `cid' = .
 28.                 forvalues i = 1/`max' {
 29.                         qui levelsof `id' if `uniqueid'==`i'
 30.                         local unitid = r(levels)
 31.                         qui replace `rid' = `i' if `rowid'==`unitid'
 32.                         qui replace `cid' = `i' if `colid'==`unitid'
 33.                 }
 34.         }       
 35.         
.         display in yellow "done."
 36.         
.        local numw = 0
 37.        foreach var of varlist `spatialvars' {                  
 38.                 local numw = `numw' + 1
 39.                capture drop SL`numw'
 40.         }
 41.                 
.                 
.         display in yellow "Building W matrices..." _continue
 42.         mata: wmaker(`d', "`rid'", "`cid'", "`spatialvars'", `numw', "`y'", "`touse'")
 43.         display in yellow "done."
 44.         
.         qui regress `y' `rhs'                                   
 45.         matrix OLSb=e(b)
 46.         local OLSsigma=e(rmse)
 47.         
.         if `numw'==1 {
 48.                 ml model lf spreg_ll_1 ( `y' = `rhs') /rho1 /sigma if `touse', maximize `robust' `nolog' init(OLSb sigma:_cons=`OLSsigma') `mlopts'
 49.         }
 50.         if `numw'==2 {
 51.                 ml model lf spreg_ll_2 ( `y' = `rhs') /rho1 /rho2 /sigma if `touse', maximize `robust' `nolog' init(OLSb sigma:_cons=`OLSsigma') `mlopts'    
 52.                 
.         }
 53.         if `numw'==3 {
 54.                 ml model lf spreg_ll_3a ( `y' = `rhs') /rho1 /rho2 /rho3 /sigma  if `touse', maximize `robust' `nolog' init(OLSb sigma:_cons=`OLSsigma') `mlopts'
 55.                 
.         }
 56.         if `numw'==4 {
 57.                 ml model lf spreg_ll_4 ( `y' = `rhs') /rho1 /rho2 /rho3 /rho4 /sigma if `touse', maximize `robust' `nolog' init(OLSb sigma:_cons=`OLSsigma') `mlop
> ts' 
 58.                 
.         }
 59.         if `numw'==5 {
 60.                 ml model lf spreg_ll_5 ( `y' = `rhs') /rho1 /rho2 /rho3 /rho4 /rho5 /sigma if `touse', maximize `robust' `nolog' init(OLSb sigma:_cons=`OLSsigma')
>  `mlopts'    
 61.                 
.         }
 62.         if `numw'==6 {
 63.                 ml model lf spreg_ll_6 ( `y' = `rhs') /rho1 /rho2 /rho3 /rho4 /rho5 /rho6 /sigma if `touse', maximize `robust' `nolog' init(OLSb sigma:_cons=`OLSs
> igma') `mlopts'    
 64.                 
.         }
 65.         if `numw'==7 {
 66.                 ml model lf spreg_ll_7 ( `y' = `rhs') /rho1 /rho2 /rho3 /rho4 /rho5 /rho6 /rho7 /sigma if `touse', maximize `robust' `nolog' init(OLSb sigma:_cons
> =`OLSsigma') `mlopts' 
 67.                 
.         }
 68.         if `numw'==8 {
 69.                 ml model lf spreg_ll_8 ( `y' = `rhs') /rho1 /rho2 /rho3 /rho4 /rho5 /rho6 /rho7 /rho8 /sigma if `touse', maximize `robust' `nolog' init(OLSb sigma
> :_cons=`OLSsigma') `mlopts'
 70.                 
.         }
 71.         if `numw'==9 {
 72.                 ml model lf spreg_ll_9 ( `y' = `rhs') /rho1 /rho2 /rho3 /rho4 /rho5 /rho6 /rho7 /rho8 /rho9 /sigma if `touse', maximize `robust' `nolog' init(OLSb
>  sigma:_cons=`OLSsigma') `mlopts'   
 73. 
.                 
.         }
 74.         if `numw'==10 {
 75.                 ml model lf spreg_ll_10 ( `y' = `rhs') /rho1 /rho2 /rho3 /rho4/rho5 /rho6 /rho7 /rho8 /rho9 /rho10 /sigma if `touse', maximize `robust' `nolog'  i
> nit(OLSb sigma:_cons=`OLSsigma') `mlopts'
 76.                
.         }
 77.         
.         ml display
 78.         dis "Weighting variables, in order: `spatialvars'"
 79.         restore
 80. 
. end

. 
. 
end of do-file

.                 use tax_data05.dta, clear;

.                                                 sort ccode ccode1 ccode2 year;

.                 egen ccode_year=group(ccode year);
(437982 missing values generated)

.         egen ccode1_year=group(ccode1 year);
(4098 missing values generated)

.         egen ccode2_year=group(ccode2 year);
(4098 missing values generated)

.         gen t=year if ccode!=.;
(437982 missing values generated)

.         /*Row Standardizing the spatial variables*/
>         egen tot_sim=total(reg_sim), by(ccode1_year);

.         egen tot_cont=total(bi_contig), by(ccode1_year);

.         egen tot_trade=total(dyad_trade), by(ccode1_year);

.         egen tot_rival=total(diehl_riv), by(ccode1_year);

.         egen tot_econ=total(dyadic_econ), by(ccode1_year);

.                                 gen regsim_st=reg_sim/tot_sim;
(23656 missing values generated)

.         gen cont_st=bi_contig/tot_cont;
(53930 missing values generated)

.         gen trade_st=dyad_trade/tot_trade;
(9463 missing values generated)

.         gen riv_st=diehl_riv/tot_rival;
(304900 missing values generated)

.         gen io_ec_st=dyadic_econ/tot_econ;
(36038 missing values generated)

.                 recode regsim_st (.=0) if reg_sim!=.;
(regsim_st: 19558 changes made)

.         recode cont_st (.=0) if bi_contig!=.;
(cont_st: 49832 changes made)

.         recode trade_st (.=0) if dyad_trade!=.;
(trade_st: 1267 changes made)

.         recode riv_st (.=0) if diehl_riv!=.;
(riv_st: 300802 changes made)

.         recode io_ec_st (.=0) if dyadic_econ!=.;
(io_ec_st: 824 changes made)

.                         recode cont_st trade_st regsim_st cont_cwar cont_onset riv_st io_ec_st (.=0);
(cont_st: 4098 changes made)
(trade_st: 8196 changes made)
(regsim_st: 4098 changes made)
(cont_cwar: 4098 changes made)
(cont_onset: 4098 changes made)
(riv_st: 4098 changes made)
(io_ec_st: 35214 changes made)

.         tabulate ccode, gen(country);

      ccode |      Freq.     Percent        Cum.
------------+-----------------------------------
          2 |         39        0.95        0.95
         20 |         34        0.83        1.78
         41 |         39        0.95        2.73
         42 |         39        0.95        3.68
         51 |         37        0.90        4.59
         52 |         36        0.88        5.47
         70 |         39        0.95        6.42
         90 |         39        0.95        7.37
         91 |         39        0.95        8.32
         92 |         39        0.95        9.27
         93 |         39        0.95       10.22
         94 |         39        0.95       11.18
         95 |         39        0.95       12.13
        100 |         39        0.95       13.08
        101 |         39        0.95       14.03
        130 |         39        0.95       14.98
        135 |         39        0.95       15.93
        140 |         39        0.95       16.89
        145 |         39        0.95       17.84
        150 |         39        0.95       18.79
        155 |         39        0.95       19.74
        160 |         39        0.95       20.69
        165 |         39        0.95       21.64
        200 |         39        0.95       22.60
        205 |         39        0.95       23.55
        210 |         39        0.95       24.50
        211 |         39        0.95       25.45
        220 |         39        0.95       26.40
        225 |         39        0.95       27.35
        230 |         39        0.95       28.31
        235 |         39        0.95       29.26
        255 |         27        0.66       29.92
        290 |          5        0.12       30.04
        305 |         39        0.95       30.99
        310 |         17        0.41       31.41
        317 |          3        0.07       31.48
        325 |         39        0.95       32.43
        350 |         39        0.95       33.38
        352 |         24        0.59       33.97
        355 |         11        0.27       34.24
        359 |          3        0.07       34.31
        360 |         12        0.29       34.60
        365 |          2        0.05       34.65
        366 |          8        0.20       34.85
        367 |          5        0.12       34.97
        368 |          6        0.15       35.11
        370 |          7        0.17       35.29
        372 |          2        0.05       35.33
        373 |          5        0.12       35.46
        375 |         39        0.95       36.41
        380 |         39        0.95       37.36
        385 |         39        0.95       38.31
        390 |         39        0.95       39.26
        404 |         25        0.61       39.87
        420 |         33        0.81       40.68
        432 |         32        0.78       41.46
        433 |         39        0.95       42.41
        434 |         39        0.95       43.36
        435 |         38        0.93       44.29
        436 |         39        0.95       45.24
        437 |         39        0.95       46.19
        438 |         13        0.32       46.51
        439 |         39        0.95       47.46
        450 |         27        0.66       48.12
        451 |         33        0.81       48.93
        452 |         38        0.93       49.85
        461 |         39        0.95       50.81
        471 |         39        0.95       51.76
        475 |         39        0.95       52.71
        481 |         39        0.95       53.66
        482 |         39        0.95       54.61
        483 |         39        0.95       55.56
        484 |         39        0.95       56.52
        490 |         35        0.85       57.37
        500 |         17        0.41       57.78
        501 |         36        0.88       58.66
        510 |         11        0.27       58.93
        516 |         37        0.90       59.83
        517 |         37        0.90       60.74
        520 |         30        0.73       61.47
        522 |          5        0.12       61.59
        530 |         18        0.44       62.03
        540 |         13        0.32       62.35
        541 |         19        0.46       62.81
        551 |         35        0.85       63.67
        552 |         28        0.68       64.35
        553 |         35        0.85       65.20
        560 |         39        0.95       66.15
        565 |          9        0.22       66.37
        570 |         33        0.81       67.18
        571 |         33        0.81       67.98
        572 |         29        0.71       68.69
        580 |         39        0.95       69.64
        590 |         31        0.76       70.40
        600 |         39        0.95       71.35
        615 |         36        0.88       72.23
        616 |         38        0.93       73.16
        620 |         22        0.54       73.69
        625 |         39        0.95       74.65
        630 |         25        0.61       75.26
        640 |         31        0.76       76.01
        645 |         21        0.51       76.53
        651 |         39        0.95       77.48
        652 |         37        0.90       78.38
        660 |          2        0.05       78.43
        663 |         24        0.59       79.01
        666 |         39        0.95       79.97
        670 |         39        0.95       80.92
        679 |          1        0.02       80.94
        690 |         25        0.61       81.55
        692 |         19        0.46       82.02
        696 |         25        0.61       82.63
        698 |         24        0.59       83.21
        700 |         21        0.51       83.72
        702 |          1        0.02       83.75
        703 |          6        0.15       83.89
        705 |          2        0.05       83.94
        710 |         39        0.95       84.90
        712 |          6        0.15       85.04
        732 |         39        0.95       85.99
        740 |         39        0.95       86.94
        750 |         39        0.95       87.90
        760 |         15        0.37       88.26
        770 |         39        0.95       89.21
        771 |         16        0.39       89.60
        775 |         39        0.95       90.56
        780 |         27        0.66       91.22
        790 |         39        0.95       92.17
        800 |         39        0.95       93.12
        820 |         39        0.95       94.07
        830 |         34        0.83       94.90
        840 |         39        0.95       95.85
        850 |         39        0.95       96.80
        900 |         39        0.95       97.76
        910 |         24        0.59       98.34
        920 |         39        0.95       99.29
        950 |         29        0.71      100.00
------------+-----------------------------------
      Total |      4,098      100.00

.                                 /*Table 1. Summary Statistics*/
>         /*Run a regression first to get the sample*/
>         reg taxratio open cwar debt inflation  agri oda federal log_gdpenl ethfrac relfrac nwstate instab oil1  
>         pres_dem monarch milit party_aut pers_aut other oilprice2009barrel lag_taxratio;

      Source |       SS       df       MS              Number of obs =    4098
-------------+------------------------------           F( 21,  4076) = 1023.33
       Model |  25.8772799    21  1.23225142           Prob > F      =  0.0000
    Residual |  4.90816757  4076  .001204163           R-squared     =  0.8406
-------------+------------------------------           Adj R-squared =  0.8397
       Total |  30.7854474  4097  .007514144           Root MSE      =   .0347

------------------------------------------------------------------------------------
          taxratio |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------------+----------------------------------------------------------------
              open |   .0050984   .0015381     3.31   0.001     .0020829     .008114
              cwar |  -.0014094   .0015753    -0.89   0.371    -.0044979    .0016791
              debt |    .000116   .0014335     0.08   0.936    -.0026944    .0029264
         inflation |   .0022421   .0017434     1.29   0.199     -.001176    .0056601
              agri |  -.0311435   .0068605    -4.54   0.000    -.0445939   -.0176931
               oda |  -.0203708   .0049434    -4.12   0.000    -.0300625   -.0106791
           federal |  -.0028639   .0016736    -1.71   0.087     -.006145    .0004172
        log_gdpenl |  -.0041912    .001183    -3.54   0.000    -.0065105   -.0018719
           ethfrac |    .000232   .0023443     0.10   0.921     -.004364    .0048281
           relfrac |   .0024086   .0028108     0.86   0.392    -.0031021    .0079193
           nwstate |  -.0000391   .0063445    -0.01   0.995    -.0124777    .0123996
            instab |  -.0002072   .0016266    -0.13   0.899    -.0033961    .0029818
              oil1 |  -.0005966   .0017417    -0.34   0.732    -.0040114    .0028181
          pres_dem |  -.0032154    .002072    -1.55   0.121    -.0072777    .0008469
           monarch |  -.0043536   .0026705    -1.63   0.103    -.0095893    .0008821
             milit |  -.0046792   .0021656    -2.16   0.031     -.008925   -.0004334
         party_aut |  -.0036748   .0018704    -1.96   0.050    -.0073418   -7.78e-06
          pers_aut |  -.0044562   .0022541    -1.98   0.048    -.0088755   -.0000369
             other |  -.0066959    .002961    -2.26   0.024    -.0125011   -.0008908
oilprice2009barrel |   .0000144    .000024     0.60   0.548    -.0000326    .0000614
      lag_taxratio |   .8875782   .0071402   124.31   0.000     .8735795    .9015768
             _cons |   .0289373   .0037384     7.74   0.000      .021608    .0362666
------------------------------------------------------------------------------------

.                 sutex taxratio open cwar debt inflation  agri oda federal log_gdpenl ethfrac relfrac nwstate instab oil1  
>         pres_dem monarch milit party_aut pers_aut other oilprice2009barrel lag_taxratio year if e(sample), minmax label file(tables/sum_part1) replace;
file tables/sum_part1.tex saved

.                 sutex cont_st riv_st regsim_st trade_st io_ec_st, minmax labels file(tables/sum_part2) replace;
file tables/sum_part2.tex saved

.                                 /*One-by-one spatial lag, fixed effects*/
>         spreg1  taxratio open cwar debt inflation  agri oda federal log_gdpenl ethfrac relfrac nwstate instab oil1  
>         pres_dem monarch milit party_aut pers_aut other oilprice2009barrel lag_taxratio country1-country37 country39-country104 country106-country116 country118-coun
> try137, 
>          spatialvars(cont_st) id(ccode_year) rowid(ccode1_year) colid(ccode2_year) ;
Building ID markers...done.
Building W matrices...done.

initial:       log likelihood =  8177.1731
rescale:       log likelihood =  8177.1731
rescale eq:    log likelihood =  8177.1731
Iteration 0:   log likelihood =  8177.1731  
Iteration 1:   log likelihood =  8186.5844  
Iteration 2:   log likelihood =  8186.6324  
Iteration 3:   log likelihood =  8186.6324  

                                                  Number of obs   =       4098
                                                  Wald chi2(155)  =   23147.38
Log likelihood =  8186.6324                       Prob > chi2     =     0.0000

------------------------------------------------------------------------------------
          taxratio |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------------+----------------------------------------------------------------
eq1                |
              open |   .0079865   .0039527     2.02   0.043     .0002393    .0157337
              cwar |   .0006755   .0022647     0.30   0.765    -.0037633    .0051143
              debt |   .0010123   .0016999     0.60   0.552    -.0023194     .004344
         inflation |   .0045438   .0019512     2.33   0.020     .0007196    .0083681
              agri |  -.0364757   .0118626    -3.07   0.002    -.0597259   -.0132255
               oda |  -.0605661   .0066871    -9.06   0.000    -.0736725   -.0474596
           federal |   -.001732   .0033996    -0.51   0.610    -.0083951    .0049311
        log_gdpenl |   .0013146   .0025406     0.52   0.605    -.0036648     .006294
           ethfrac |   .0368277   .0525078     0.70   0.483    -.0660857    .1397411
           relfrac |   -.060455   .0358395    -1.69   0.092    -.1306992    .0097892
           nwstate |  -.0073875     .00613    -1.21   0.228    -.0194021    .0046271
            instab |   .0020917    .001667     1.25   0.210    -.0011755    .0053589
              oil1 |  -.0117229   .0031535    -3.72   0.000    -.0179036   -.0055421
          pres_dem |   .0054591   .0043366     1.26   0.208    -.0030404    .0139586
           monarch |  -.0070241   .0079895    -0.88   0.379    -.0226832     .008635
             milit |   .0026984   .0037938     0.71   0.477    -.0047373    .0101341
         party_aut |   .0033442    .003758     0.89   0.374    -.0040213    .0107097
          pers_aut |  -.0010568   .0039729    -0.27   0.790    -.0088436      .00673
             other |  -.0011976   .0046102    -0.26   0.795    -.0102335    .0078382
oilprice2009barrel |   .0000369   .0000244     1.51   0.130    -.0000109    .0000846
      lag_taxratio |   .7438992   .0100316    74.16   0.000     .7242376    .7635608
          country1 |  -.0003162    .016914    -0.02   0.985     -.033467    .0328346
          country2 |   .0012656   .0275269     0.05   0.963    -.0526862    .0552173
          country3 |   .0180362   .0154651     1.17   0.244    -.0122749    .0483473
          country4 |  -.0070558   .0093731    -0.75   0.452    -.0254267    .0113151
          country5 |   .0529313   .0193863     2.73   0.006     .0149349    .0909277
          country6 |   .0518191   .0219717     2.36   0.018     .0087554    .0948827
          country7 |  -.0132558   .0112508    -1.18   0.239    -.0353069    .0087954
          country8 |  -.0195701   .0236124    -0.83   0.407    -.0658496    .0267093
          country9 |  -.0025637   .0087902    -0.29   0.771    -.0197922    .0146649
         country10 |  -.0028205   .0087938    -0.32   0.748     -.020056    .0144149
         country11 |   .0086683   .0092688     0.94   0.350    -.0094982    .0268347
         country12 |   .0008653   .0112091     0.08   0.938     -.021104    .0228346
         country13 |  -.0116852   .0101699    -1.15   0.251    -.0316179    .0082475
         country14 |  -.0076388   .0107299    -0.71   0.477    -.0286689    .0133913
         country15 |   .0024159   .0090191     0.27   0.789    -.0152612    .0200931
         country16 |  -.0123353   .0225718    -0.55   0.585    -.0565752    .0319045
         country17 |  -.0389801   .0238053    -1.64   0.102    -.0856376    .0076774
         country18 |   .0142492   .0133176     1.07   0.285    -.0118527    .0403512
         country19 |  -.0365671   .0298985    -1.22   0.221    -.0951672     .022033
         country20 |  -.0110528    .008256    -1.34   0.181    -.0272342    .0051285
         country21 |  -.0010001    .008269    -0.12   0.904    -.0172071    .0152068
         country22 |  -.0338993   .0116384    -2.91   0.004    -.0567102   -.0110884
         country23 |   .0291738   .0105688     2.76   0.006     .0084594    .0498882
         country24 |   .0391749    .016624     2.36   0.018     .0065925    .0717574
         country25 |   .0212172    .009629     2.20   0.028     .0023447    .0400898
         country26 |   .0428167   .0233562     1.83   0.067    -.0029606    .0885939
         country27 |   .0139213   .0196345     0.71   0.478    -.0245616    .0524043
         country28 |   .0007746   .0098671     0.08   0.937    -.0185646    .0201138
         country29 |  -.0036307   .0188347    -0.19   0.847    -.0405461    .0332847
         country30 |  -.0272324   .0182699    -1.49   0.136    -.0630407    .0085758
         country31 |   .0112756   .0099884     1.13   0.259    -.0083012    .0308524
         country32 |   .0222669   .0261297     0.85   0.394    -.0289465    .0734802
         country33 |  -.0004236   .0167639    -0.03   0.980    -.0332802     .032433
         country34 |   .0051412   .0125769     0.41   0.683    -.0195091    .0297915
         country35 |    .043449    .017773     2.44   0.014     .0086145    .0782834
         country36 |   .0153113   .0244759     0.63   0.532    -.0326606    .0632831
         country37 |   .0048197   .0090721     0.53   0.595    -.0129612    .0226007
         country39 |  -.0060454   .0128681    -0.47   0.638    -.0312664    .0191756
         country40 |   .0022166   .0125927     0.18   0.860    -.0224648    .0268979
         country41 |  -.0158616   .0312392    -0.51   0.612    -.0770893     .045366
         country42 |   .0172573   .0151607     1.14   0.255    -.0124571    .0469718
         country43 |   .0067074   .0259551     0.26   0.796    -.0441637    .0575784
         country44 |   .0064805    .021008     0.31   0.758    -.0346944    .0476553
         country45 |   .0093099   .0254253     0.37   0.714    -.0405228    .0591426
         country46 |   .0019449   .0179965     0.11   0.914    -.0333275    .0372173
         country47 |  -.0047457   .0179929    -0.26   0.792     -.040011    .0305196
         country48 |  -.0038514   .0284839    -0.14   0.892    -.0596789    .0519761
         country49 |   -.019226   .0183496    -1.05   0.295    -.0551905    .0167384
         country50 |  -.0035882   .0083104    -0.43   0.666    -.0198762    .0126999
         country51 |   .0088347   .0101351     0.87   0.383    -.0110297    .0286991
         country52 |   .0295898   .0120349     2.46   0.014     .0060019    .0531778
         country53 |   .0031533   .0083521     0.38   0.706    -.0132165    .0195231
         country54 |   .0631759   .0305051     2.07   0.038      .003387    .1229649
         country55 |  -.0066257   .0311492    -0.21   0.832    -.0676771    .0544257
         country56 |  -.0090454   .0336696    -0.27   0.788    -.0750365    .0569457
         country57 |  -.0003834   .0312395    -0.01   0.990    -.0616117    .0608448
         country58 |   .0101888   .0220538     0.46   0.644    -.0330358    .0534134
         country59 |  -.0142483   .0162871    -0.87   0.382    -.0461705    .0176739
         country60 |   .0026759   .0287981     0.09   0.926    -.0537672    .0591191
         country61 |    .015861    .031741     0.50   0.617    -.0463503    .0780722
         country62 |   .0215422   .0312234     0.69   0.490    -.0396544    .0827389
         country63 |   .0111819   .0239304     0.47   0.640    -.0357207    .0580846
         country64 |   .0158136   .0302764     0.52   0.601     -.043527    .0751542
         country65 |  -.0041373   .0280409    -0.15   0.883    -.0590964    .0508218
         country66 |   .0302227   .0251848     1.20   0.230    -.0191387    .0795841
         country67 |  -.0002347   .0259179    -0.01   0.993    -.0510328    .0505635
         country68 |   .0122685   .0325199     0.38   0.706    -.0514693    .0760063
         country69 |   .0091519   .0319691     0.29   0.775    -.0535063    .0718101
         country70 |   .0174056   .0245195     0.71   0.478    -.0306518     .065463
         country71 |   .0357096   .0249959     1.43   0.153    -.0132815    .0847007
         country72 |   .0042321   .0300725     0.14   0.888    -.0547089    .0631731
         country73 |   .0145455   .0229864     0.63   0.527    -.0305069    .0595979
         country74 |   .0006715   .0329984     0.02   0.984    -.0640042    .0653473
         country75 |  -.0009255   .0334351    -0.03   0.978     -.066457     .064606
         country76 |   .0254681    .029995     0.85   0.396     -.033321    .0842572
         country77 |   .0214668   .0354992     0.60   0.545    -.0481104     .091044
         country78 |   .0460767    .021492     2.14   0.032     .0039531    .0882003
         country79 |   .0372438   .0169513     2.20   0.028     .0040199    .0704677
         country80 |   .0135143   .0103345     1.31   0.191     -.006741    .0337696
         country81 |   .0073653    .033694     0.22   0.827    -.0586738    .0734043
         country82 |   .0175276   .0255991     0.68   0.494    -.0326457     .067701
         country83 |     .06093   .0293594     2.08   0.038     .0033865    .1184735
         country84 |   .0599068   .0240412     2.49   0.013     .0127869    .1070267
         country85 |   .0550303   .0310596     1.77   0.076    -.0058454    .1159061
         country86 |   .0375757   .0191476     1.96   0.050      .000047    .0751043
         country87 |   .0320061   .0220321     1.45   0.146     -.011176    .0751881
         country88 |   .0006465   .0337198     0.02   0.985     -.065443     .066736
         country89 |   .0183042   .0288051     0.64   0.525    -.0381527    .0747611
         country90 |   .0466051   .0111637     4.17   0.000     .0247246    .0684856
         country91 |   .0207793    .017829     1.17   0.244    -.0141648    .0557235
         country92 |   .0127158   .0163215     0.78   0.436    -.0192737    .0447053
         country93 |   .0361666   .0204615     1.77   0.077    -.0039371    .0762704
         country94 |   .0149831   .0209195     0.72   0.474    -.0260183    .0559845
         country95 |  -.0053403   .0256102    -0.21   0.835    -.0555353    .0448548
         country96 |   .0202656   .0197469     1.03   0.305    -.0184375    .0589687
         country97 |  -.0161387   .0092007    -1.75   0.079    -.0341718    .0018943
         country98 |   .0568614   .0114903     4.95   0.000     .0343409     .079382
         country99 |  -.0064445   .0272414    -0.24   0.813    -.0598366    .0469475
        country100 |  -.0268875   .0322262    -0.83   0.404    -.0900497    .0362746
        country101 |  -.0048392   .0096243    -0.50   0.615    -.0237024     .014024
        country102 |   .0258374   .0145823     1.77   0.076    -.0027433    .0544181
        country103 |   .0131219    .009758     1.34   0.179    -.0060034    .0322471
        country104 |   .0164244   .0119971     1.37   0.171    -.0070895    .0399384
        country106 |  -.0024068   .0127642    -0.19   0.850    -.0274242    .0226106
        country107 |   .0465943   .0103692     4.49   0.000      .026271    .0669176
        country108 |   .0653736   .0121491     5.38   0.000     .0415617    .0891854
        country109 |  -.0036558   .0394335    -0.09   0.926     -.080944    .0736324
        country110 |  -.0005057   .0203958    -0.02   0.980    -.0404807    .0394693
        country111 |  -.0186714   .0145563    -1.28   0.200    -.0472012    .0098584
        country112 |  -.0074493   .0118828    -0.63   0.531    -.0307391    .0158406
        country113 |    .001589   .0136929     0.12   0.908    -.0252486    .0284266
        country114 |  -.0167796     .02625    -0.64   0.523    -.0682287    .0346695
        country115 |  -.0254385   .0381912    -0.67   0.505    -.1002919    .0494148
        country116 |  -.0045602   .0273442    -0.17   0.868    -.0581539    .0490335
        country118 |    .034951   .0183477     1.90   0.057    -.0010098    .0709118
        country119 |  -.0256269   .0207167    -1.24   0.216    -.0662309     .014977
        country120 |    .029508   .0217548     1.36   0.175    -.0131306    .0721467
        country121 |   -.006057    .013266    -0.46   0.648    -.0320579    .0199439
        country122 |   -.017353   .0363615    -0.48   0.633    -.0886203    .0539144
        country123 |   .0152635   .0273717     0.56   0.577     -.038384    .0689109
        country124 |  -.0063346   .0237356    -0.27   0.790    -.0528555    .0401862
        country125 |   .0019929   .0143148     0.14   0.889    -.0260636    .0300494
        country126 |  -.0133838   .0185381    -0.72   0.470    -.0497178    .0229501
        country127 |   .0200011   .0165243     1.21   0.226     -.012386    .0523882
        country128 |  -.0123355   .0299952    -0.41   0.681    -.0711251     .046454
        country129 |  -.0294681   .0291483    -1.01   0.312    -.0865976    .0276615
        country130 |   .0163545   .0231242     0.71   0.479    -.0289681    .0616771
        country131 |   -.014732   .0170798    -0.86   0.388    -.0482078    .0187439
        country132 |  -.0146005   .0295241    -0.49   0.621    -.0724667    .0432657
        country133 |  -.0114786   .0318002    -0.36   0.718    -.0738058    .0508487
        country134 |   .0355047    .022094     1.61   0.108    -.0077987    .0788081
        country135 |   .0460341   .0201113     2.29   0.022     .0066166    .0854515
        country136 |    .042984   .0210702     2.04   0.041     .0016872    .0842808
        country137 |   .0389321   .0255088     1.53   0.127    -.0110643    .0889285
             _cons |   .0348711   .0092777     3.76   0.000     .0166872     .053055
-------------------+----------------------------------------------------------------
rho1               |
             _cons |   .0465922   .0116732     3.99   0.000     .0237132    .0694713
-------------------+----------------------------------------------------------------
sigma              |
             _cons |   .0328106   .0003625    90.52   0.000     .0321002     .033521
------------------------------------------------------------------------------------
Weighting variables, in order: cont_st

.          estimates store sp_tax_cont_fe;

.                  spreg1  taxratio open cwar debt inflation  agri oda federal log_gdpenl ethfrac relfrac nwstate instab oil1  
>         pres_dem monarch milit party_aut pers_aut other oilprice2009barrel lag_taxratio country1-country37 country39-country104 country106-country116 country118-coun
> try137, 
>          spatialvars(riv_st) id(ccode_year) rowid(ccode1_year) colid(ccode2_year) ;
Building ID markers...done.
Building W matrices...done.

initial:       log likelihood =  8177.1731
rescale:       log likelihood =  8177.1731
rescale eq:    log likelihood =  8177.1731
Iteration 0:   log likelihood =  8177.1731  
Iteration 1:   log likelihood =  8180.4689  
Iteration 2:   log likelihood =  8180.4802  
Iteration 3:   log likelihood =  8180.4802  

                                                  Number of obs   =       4098
                                                  Wald chi2(155)  =   24386.11
Log likelihood =  8180.4802                       Prob > chi2     =     0.0000

------------------------------------------------------------------------------------
          taxratio |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------------+----------------------------------------------------------------
eq1                |
              open |   .0080384   .0039599     2.03   0.042     .0002771    .0157997
              cwar |   .0006842   .0022701     0.30   0.763    -.0037651    .0051334
              debt |   .0011286   .0017027     0.66   0.507    -.0022086    .0044658
         inflation |   .0042775    .001957     2.19   0.029     .0004418    .0081132
              agri |  -.0367669   .0118845    -3.09   0.002    -.0600602   -.0134737
               oda |  -.0598077   .0066958    -8.93   0.000    -.0729313   -.0466842
           federal |  -.0005917   .0034218    -0.17   0.863    -.0072982    .0061149
        log_gdpenl |   .0019619   .0025385     0.77   0.440    -.0030135    .0069372
           ethfrac |   .0327394   .0525906     0.62   0.534    -.0703364    .1358151
           relfrac |  -.0475441   .0358491    -1.33   0.185    -.1178069    .0227188
           nwstate |  -.0085294   .0061328    -1.39   0.164    -.0205495    .0034907
            instab |   .0018327   .0016684     1.10   0.272    -.0014372    .0051026
              oil1 |   -.011625    .003161    -3.68   0.000    -.0178205   -.0054295
          pres_dem |   .0050682   .0043431     1.17   0.243    -.0034441    .0135806
           monarch |    -.00678    .008004    -0.85   0.397    -.0224674    .0089075
             milit |   .0022949   .0038031     0.60   0.546     -.005159    .0097489
         party_aut |    .002444   .0037622     0.65   0.516    -.0049297    .0098177
          pers_aut |  -.0021525   .0039827    -0.54   0.589    -.0099585    .0056535
             other |  -.0017247   .0046166    -0.37   0.709    -.0107731    .0073236
oilprice2009barrel |   .0000406   .0000245     1.66   0.097    -7.38e-06    .0000886
      lag_taxratio |   .7490834   .0099639    75.18   0.000     .7295546    .7686122
          country1 |  -.0082452    .017004    -0.48   0.628    -.0415725     .025082
          country2 |  -.0054109   .0275772    -0.20   0.844    -.0594613    .0486395
          country3 |   .0190396   .0155055     1.23   0.219    -.0113506    .0494298
          country4 |  -.0053711   .0094378    -0.57   0.569    -.0238687    .0131266
          country5 |   .0435516   .0192632     2.26   0.024     .0057965    .0813068
          country6 |   .0399098   .0218385     1.83   0.068    -.0028929    .0827124
          country7 |  -.0133528   .0112772    -1.18   0.236    -.0354557    .0087502
          country8 |  -.0175759   .0236563    -0.74   0.457    -.0639414    .0287895
          country9 |  -.0015961   .0088089    -0.18   0.856    -.0188612    .0156691
         country10 |  -.0013242   .0088371    -0.15   0.881    -.0186446    .0159962
         country11 |   .0081664   .0093104     0.88   0.380    -.0100817    .0264146
         country12 |  -.0002846   .0112571    -0.03   0.980     -.022348    .0217789
         country13 |  -.0104522   .0102078    -1.02   0.306    -.0304592    .0095548
         country14 |  -.0064663   .0107572    -0.60   0.548      -.02755    .0146174
         country15 |   .0040111   .0090477     0.44   0.658    -.0137221    .0217443
         country16 |  -.0110359   .0226098    -0.49   0.625    -.0553504    .0332785
         country17 |  -.0366291   .0238395    -1.54   0.124    -.0833536    .0100954
         country18 |   .0124752   .0133322     0.94   0.349    -.0136555    .0386059
         country19 |  -.0313179    .029944    -1.05   0.296     -.090007    .0273712
         country20 |  -.0089384   .0083152    -1.07   0.282    -.0252358     .007359
         country21 |  -.0028756   .0082668    -0.35   0.728    -.0190782    .0133271
         country22 |  -.0329111   .0116643    -2.82   0.005    -.0557727   -.0100494
         country23 |   .0280769   .0105884     2.65   0.008     .0073241    .0488297
         country24 |   .0383988   .0166837     2.30   0.021     .0056995    .0710982
         country25 |   .0281113   .0096032     2.93   0.003     .0092894    .0469331
         country26 |   .0414289   .0233954     1.77   0.077    -.0044252     .087283
         country27 |   .0168677   .0196619     0.86   0.391    -.0216689    .0554043
         country28 |   .0032004   .0098995     0.32   0.746    -.0162021     .022603
         country29 |  -.0054901   .0188676    -0.29   0.771    -.0424699    .0314896
         country30 |  -.0222243   .0182599    -1.22   0.224     -.058013    .0135643
         country31 |   .0123902   .0100561     1.23   0.218    -.0073193    .0320998
         country32 |   .0124832   .0260681     0.48   0.632    -.0386094    .0635758
         country33 |   .0031564   .0168084     0.19   0.851    -.0297875    .0361003
         country34 |   .0038617   .0125945     0.31   0.759    -.0208231    .0285465
         country35 |   .0411513   .0177933     2.31   0.021     .0062771    .0760255
         country36 |   .0144723   .0245192     0.59   0.555    -.0335845    .0625291
         country37 |   .0066844   .0091179     0.73   0.463    -.0111863    .0245551
         country39 |  -.0088415   .0129283    -0.68   0.494    -.0341806    .0164976
         country40 |     .00308   .0126325     0.24   0.807    -.0216791    .0278392
         country41 |  -.0081423   .0312601    -0.26   0.795     -.069411    .0531263
         country42 |    .021736   .0151572     1.43   0.152    -.0079716    .0514435
         country43 |   .0043143   .0260506     0.17   0.868    -.0467439    .0553726
         country44 |   .0041209   .0210359     0.20   0.845    -.0371088    .0453506
         country45 |    .009077   .0254717     0.36   0.722    -.0408465    .0590006
         country46 |   .0044036    .018021     0.24   0.807     -.030917    .0397241
         country47 |  -.0020155    .018034    -0.11   0.911    -.0373615    .0333305
         country48 |  -.0030273   .0285353    -0.11   0.916    -.0589554    .0529008
         country49 |  -.0150889   .0183865    -0.82   0.412    -.0511258     .020948
         country50 |    .000789   .0083365     0.09   0.925    -.0155502    .0171282
         country51 |    .010936   .0101703     1.08   0.282    -.0089974    .0308694
         country52 |   .0306091    .012076     2.53   0.011     .0069407    .0542776
         country53 |   .0005574   .0083578     0.07   0.947    -.0158236    .0169383
         country54 |    .069649   .0305208     2.28   0.022     .0098293    .1294687
         country55 |   .0027897   .0311327     0.09   0.929    -.0582293    .0638087
         country56 |  -.0001843   .0336775    -0.01   0.996     -.066191    .0658224
         country57 |   .0054152   .0312738     0.17   0.863    -.0558803    .0667106
         country58 |   .0097861   .0220948     0.44   0.658    -.0335189    .0530911
         country59 |  -.0047244   .0162332    -0.29   0.771    -.0365408     .027092
         country60 |   .0078014   .0288288     0.27   0.787    -.0487021    .0643049
         country61 |   .0174945   .0317964     0.55   0.582    -.0448253    .0798143
         country62 |   .0267297   .0312627     0.86   0.393     -.034544    .0880033
         country63 |   .0123943   .0239714     0.52   0.605    -.0345888    .0593774
         country64 |   .0167455   .0303302     0.55   0.581    -.0427005    .0761915
         country65 |   .0003551   .0280696     0.01   0.990    -.0546604    .0553706
         country66 |   .0271602   .0252588     1.08   0.282    -.0223461    .0766665
         country67 |  -.0008948    .026004    -0.03   0.973    -.0518617    .0500721
         country68 |   .0135121    .032577     0.41   0.678    -.0503376    .0773618
         country69 |   .0097617   .0320268     0.30   0.761    -.0530097     .072533
         country70 |   .0199148   .0245607     0.81   0.417    -.0282232    .0680529
         country71 |   .0333575   .0250399     1.33   0.183    -.0157198    .0824349
         country72 |   .0061631   .0301226     0.20   0.838     -.052876    .0652022
         country73 |   .0137718   .0230522     0.60   0.550    -.0314097    .0589534
         country74 |   -.001573   .0331558    -0.05   0.962    -.0665571    .0634111
         country75 |  -.0041393   .0335485    -0.12   0.902    -.0698931    .0616145
         country76 |   .0219972   .0300818     0.73   0.465    -.0369621    .0809565
         country77 |   .0255719   .0355459     0.72   0.472    -.0440969    .0952406
         country78 |    .043699   .0215207     2.03   0.042     .0015191    .0858788
         country79 |   .0358445   .0169777     2.11   0.035     .0025688    .0691202
         country80 |      .0192   .0103418     1.86   0.063    -.0010695    .0394696
         country81 |   .0117234   .0337567     0.35   0.728    -.0544385    .0778853
         country82 |    .016677   .0256682     0.65   0.516    -.0336318    .0669857
         country83 |   .0673363   .0293643     2.29   0.022     .0097833    .1248894
         country84 |   .0658885    .024041     2.74   0.006      .018769     .113008
         country85 |   .0567328   .0311239     1.82   0.068     -.004269    .1177346
         country86 |   .0432493   .0191363     2.26   0.024     .0057427    .0807559
         country87 |   .0382272   .0220147     1.74   0.082    -.0049209    .0813753
         country88 |   .0013009   .0338022     0.04   0.969    -.0649502     .067552
         country89 |   .0330904    .028652     1.15   0.248    -.0230665    .0892474
         country90 |   .0519365   .0111434     4.66   0.000     .0300957    .0737772
         country91 |   .0272824   .0177798     1.53   0.125    -.0075653    .0621302
         country92 |   .0148694    .016346     0.91   0.363    -.0171682    .0469071
         country93 |   .0282233   .0203943     1.38   0.166    -.0117488    .0681955
         country94 |   .0062129   .0208434     0.30   0.766    -.0346394    .0470652
         country95 |   -.000377   .0256193    -0.01   0.988      -.05059    .0498359
         country96 |   .0249666    .019744     1.26   0.206    -.0137309     .063664
         country97 |  -.0033299   .0088767    -0.38   0.708    -.0207278    .0140681
         country98 |   .0591913   .0115112     5.14   0.000     .0366297    .0817529
         country99 |   -.004013    .027282    -0.15   0.883    -.0574847    .0494588
        country100 |  -.0255639   .0322935    -0.79   0.429     -.088858    .0377302
        country101 |   -.005032   .0096732    -0.52   0.603    -.0239911    .0139271
        country102 |   .0207205   .0147537     1.40   0.160    -.0081962    .0496371
        country103 |   .0164473   .0097986     1.68   0.093    -.0027576    .0356522
        country104 |   .0151111   .0121698     1.24   0.214    -.0087412    .0389634
        country106 |    .005223   .0127004     0.41   0.681    -.0196694    .0301153
        country107 |   .0423898   .0104965     4.04   0.000     .0218171    .0629626
        country108 |   .0604824   .0122007     4.96   0.000     .0365695    .0843954
        country109 |  -.0012439   .0395009    -0.03   0.975    -.0786643    .0761765
        country110 |  -.0011804   .0204855    -0.06   0.954    -.0413312    .0389705
        country111 |  -.0137702   .0145499    -0.95   0.344    -.0422874    .0147471
        country112 |  -.0026044   .0118714    -0.22   0.826     -.025872    .0206631
        country113 |   .0064009   .0136867     0.47   0.640    -.0204246    .0332264
        country114 |   -.014448   .0262894    -0.55   0.583    -.0659744    .0370783
        country115 |  -.0219916   .0382548    -0.57   0.565    -.0969696    .0529864
        country116 |  -.0034691   .0273953    -0.13   0.899     -.057163    .0502248
        country118 |   .0286145   .0183726     1.56   0.119    -.0073952    .0646242
        country119 |  -.0217083   .0207545    -1.05   0.296    -.0623863    .0189698
        country120 |   .0187376   .0216886     0.86   0.388    -.0237714    .0612466
        country121 |  -.0149923   .0131638    -1.14   0.255    -.0407928    .0108082
        country122 |  -.0190587   .0364523    -0.52   0.601     -.090504    .0523866
        country123 |   .0164976   .0274206     0.60   0.547    -.0372459    .0702411
        country124 |  -.0071074    .023786    -0.30   0.765    -.0537271    .0395123
        country125 |   .0007176   .0143374     0.05   0.960    -.0273832    .0288183
        country126 |  -.0115759   .0185646    -0.62   0.533    -.0479619    .0248101
        country127 |   .0139307   .0164722     0.85   0.398    -.0183541    .0462156
        country128 |  -.0082531   .0300384    -0.27   0.784    -.0671273     .050621
        country129 |  -.0247753   .0291838    -0.85   0.396    -.0819744    .0324239
        country130 |   .0128985   .0231807     0.56   0.578    -.0325348    .0583319
        country131 |  -.0122269   .0171134    -0.71   0.475    -.0457685    .0213147
        country132 |  -.0196978    .029594    -0.67   0.506    -.0777009    .0383054
        country133 |  -.0044096   .0318258    -0.14   0.890     -.066787    .0579678
        country134 |   .0220313   .0219095     1.01   0.315    -.0209106    .0649732
        country135 |   .0436153   .0201415     2.17   0.030     .0041386    .0830919
        country136 |   .0307854    .020893     1.47   0.141    -.0101642     .071735
        country137 |   .0298222   .0254615     1.17   0.241    -.0200814    .0797258
             _cons |   .0359407   .0093079     3.86   0.000     .0176975    .0541839
-------------------+----------------------------------------------------------------
rho1               |
             _cons |   .0211351   .0111867     1.89   0.059    -.0007905    .0430607
-------------------+----------------------------------------------------------------
sigma              |
             _cons |   .0328702   .0003631    90.53   0.000     .0321585    .0335818
------------------------------------------------------------------------------------
Weighting variables, in order: riv_st

.          estimates store sp_tax_riv_fe;

.                  spreg1  taxratio open cwar debt inflation  agri oda federal log_gdpenl ethfrac relfrac nwstate instab oil1  
>         pres_dem monarch milit party_aut pers_aut other oilprice2009barrel lag_taxratio country1-country37 country39-country104 country106-country116 country118-coun
> try137, 
>          spatialvars(regsim_st) id(ccode_year) rowid(ccode1_year) colid(ccode2_year) ;
Building ID markers...done.
Building W matrices...done.

initial:       log likelihood =  8177.1731
rescale:       log likelihood =  8177.1731
rescale eq:    log likelihood =  8177.1731
Iteration 0:   log likelihood =  8177.1731  
Iteration 1:   log likelihood =  8180.2657  
Iteration 2:   log likelihood =  8180.2799  
Iteration 3:   log likelihood =  8180.2799  

                                                  Number of obs   =       4098
                                                  Wald chi2(155)  =   23004.28
Log likelihood =  8180.2799                       Prob > chi2     =     0.0000

------------------------------------------------------------------------------------
          taxratio |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------------+----------------------------------------------------------------
eq1                |
              open |   .0080628   .0039486     2.04   0.041     .0003237    .0158019
              cwar |   .0007928   .0022622     0.35   0.726    -.0036409    .0052266
              debt |   .0007084   .0017185     0.41   0.680    -.0026597    .0040765
         inflation |   .0044603    .001949     2.29   0.022     .0006402    .0082803
              agri |  -.0353192   .0118709    -2.98   0.003    -.0585858   -.0120527
               oda |  -.0604883    .006692    -9.04   0.000    -.0736043   -.0473722
           federal |  -.0013189   .0033941    -0.39   0.698    -.0079712    .0053335
        log_gdpenl |   .0011638   .0025907     0.45   0.653    -.0039139    .0062416
           ethfrac |   .0328445   .0524409     0.63   0.531    -.0699377    .1356268
           relfrac |  -.0505212    .035714    -1.41   0.157    -.1205193     .019477
           nwstate |  -.0081498   .0061229    -1.33   0.183    -.0201504    .0038508
            instab |   .0017713    .001663     1.07   0.287    -.0014882    .0050308
              oil1 |   -.011883   .0031502    -3.77   0.000    -.0180572   -.0057088
          pres_dem |   .0067075   .0044478     1.51   0.132      -.00201    .0154251
           monarch |  -.0055024   .0080164    -0.69   0.492    -.0212143    .0102094
             milit |   .0046606   .0039669     1.17   0.240    -.0031144    .0124356
         party_aut |   .0039995   .0038256     1.05   0.296    -.0034985    .0114976
          pers_aut |   .0003119   .0041263     0.08   0.940    -.0077756    .0083994
             other |   .0074542   .0068955     1.08   0.280    -.0060608    .0209692
oilprice2009barrel |   .0000332   .0000253     1.31   0.189    -.0000164    .0000828
      lag_taxratio |   .7466079   .0100344    74.40   0.000     .7269408    .7662749
          country1 |  -.0034533   .0168758    -0.20   0.838    -.0365294    .0296227
          country2 |  -.0028204   .0274758    -0.10   0.918     -.056672    .0510312
          country3 |   .0160722   .0154815     1.04   0.299    -.0142709    .0464153
          country4 |   -.008416   .0093894    -0.90   0.370    -.0268189    .0099868
          country5 |   .0427484   .0192065     2.23   0.026     .0051044    .0803924
          country6 |   .0411578   .0217733     1.89   0.059    -.0015172    .0838327
          country7 |  -.0143717   .0112372    -1.28   0.201    -.0363961    .0076528
          country8 |   -.019828   .0236008    -0.84   0.401    -.0660846    .0264286
          country9 |  -.0021286   .0088104    -0.24   0.809    -.0193967    .0151394
         country10 |   -.003586   .0088003    -0.41   0.684    -.0208342    .0136622
         country11 |   .0090707   .0092599     0.98   0.327    -.0090784    .0272198
         country12 |   .0012119   .0111969     0.11   0.914    -.0207337    .0231575
         country13 |  -.0120816   .0101622    -1.19   0.234    -.0319991    .0078359
         country14 |  -.0075267   .0107192    -0.70   0.483    -.0285359    .0134825
         country15 |   .0041964   .0090301     0.46   0.642    -.0135023    .0218951
         country16 |  -.0111049   .0225459    -0.49   0.622    -.0552941    .0330844
         country17 |   -.036463     .02377    -1.53   0.125    -.0830515    .0101254
         country18 |   .0118304     .01329     0.89   0.373    -.0142176    .0378783
         country19 |  -.0338458   .0298587    -1.13   0.257    -.0923679    .0246762
         country20 |  -.0120229   .0082861    -1.45   0.147    -.0282634    .0042176
         country21 |  -.0032617   .0082378    -0.40   0.692    -.0194074     .012884
         country22 |  -.0313928   .0116142    -2.70   0.007    -.0541562   -.0086294
         country23 |   .0270336   .0105444     2.56   0.010      .006367    .0477002
         country24 |    .041319   .0166127     2.49   0.013     .0087587    .0738792
         country25 |   .0268798    .009536     2.82   0.005     .0081896      .04557
         country26 |    .042248   .0233353     1.81   0.070    -.0034883    .0879843
         country27 |   .0170645   .0196076     0.87   0.384    -.0213657    .0554948
         country28 |   .0033915   .0098811     0.34   0.731    -.0159751    .0227581
         country29 |  -.0041227   .0188182    -0.22   0.827    -.0410057    .0327603
         country30 |  -.0222057   .0182076    -1.22   0.223     -.057892    .0134806
         country31 |   .0105509   .0099759     1.06   0.290    -.0090016    .0301033
         country32 |   .0134986   .0259966     0.52   0.604    -.0374539    .0644511
         country33 |   .0013854   .0167392     0.08   0.934    -.0314229    .0341937
         country34 |   .0041166   .0125625     0.33   0.743    -.0205055    .0287387
         country35 |   .0403143   .0177376     2.27   0.023     .0055491    .0750794
         country36 |   .0135695   .0244533     0.55   0.579     -.034358     .061497
         country37 |   .0060832   .0090727     0.67   0.503     -.011699    .0238654
         country39 |   -.006562   .0128544    -0.51   0.610    -.0317562    .0186322
         country40 |   .0017498   .0125792     0.14   0.889     -.022905    .0264047
         country41 |  -.0116805   .0311908    -0.37   0.708    -.0728133    .0494524
         country42 |   .0190295   .0151628     1.26   0.209     -.010689     .048748
         country43 |   .0069277   .0259283     0.27   0.789    -.0438909    .0577463
         country44 |   .0022972   .0209914     0.11   0.913    -.0388452    .0434396
         country45 |   .0082075   .0254058     0.32   0.747    -.0415869    .0580019
         country46 |   .0029995   .0179807     0.17   0.868    -.0322419     .038241
         country47 |   -.003256   .0179702    -0.18   0.856     -.038477    .0319649
         country48 |  -.0052807   .0284775    -0.19   0.853    -.0610957    .0505342
         country49 |  -.0173909   .0183241    -0.95   0.343    -.0533055    .0185237
         country50 |  -.0001409   .0082792    -0.02   0.986    -.0163679     .016086
         country51 |   .0108319   .0101399     1.07   0.285     -.009042    .0307057
         country52 |   .0304185   .0120379     2.53   0.012     .0068247    .0540123
         country53 |   -.000611   .0082765    -0.07   0.941    -.0168327    .0156106
         country54 |   .0673209   .0304554     2.21   0.027     .0076294    .1270124
         country55 |   .0004569   .0310535     0.01   0.988    -.0604068    .0613206
         country56 |  -.0046183    .033631    -0.14   0.891    -.0705339    .0612972
         country57 |   .0028314   .0311976     0.09   0.928    -.0583147    .0639775
         country58 |   .0076262   .0220768     0.35   0.730    -.0356436     .050896
         country59 |  -.0080354   .0161769    -0.50   0.619    -.0397415    .0236708
         country60 |   .0047204   .0287799     0.16   0.870    -.0516871    .0611279
         country61 |   .0155625   .0317216     0.49   0.624    -.0466108    .0777357
         country62 |   .0243281   .0311845     0.78   0.435    -.0367924    .0854485
         country63 |   .0098486   .0239512     0.41   0.681    -.0370949     .056792
         country64 |   .0155857   .0302546     0.52   0.606    -.0437123    .0748837
         country65 |  -.0018937   .0280163    -0.07   0.946    -.0568046    .0530172
         country66 |   .0270401   .0251935     1.07   0.283    -.0223383    .0764184
         country67 |  -.0006912   .0259282    -0.03   0.979    -.0515095    .0501271
         country68 |   .0115768   .0325082     0.36   0.722    -.0521381    .0752917
         country69 |   .0083836   .0319502     0.26   0.793    -.0542377     .071005
         country70 |   .0190894   .0244893     0.78   0.436    -.0289088    .0670877
         country71 |   .0313402   .0250102     1.25   0.210     -.017679    .0803593
         country72 |   .0037698   .0300708     0.13   0.900    -.0551678    .0627074
         country73 |   .0152452   .0229624     0.66   0.507    -.0297603    .0602508
         country74 |   .0001056    .033008     0.00   0.997    -.0645888       .0648
         country75 |  -.0034184   .0334374    -0.10   0.919    -.0689545    .0621177
         country76 |   .0220381   .0299986     0.73   0.463    -.0367581    .0808344
         country77 |   .0223925   .0355022     0.63   0.528    -.0471905    .0919755
         country78 |   .0406715   .0215075     1.89   0.059    -.0014824    .0828253
         country79 |   .0335326   .0169514     1.98   0.048     .0003084    .0667568
         country80 |   .0154659   .0103392     1.50   0.135    -.0047986    .0357303
         country81 |   .0071015   .0336964     0.21   0.833    -.0589422    .0731453
         country82 |   .0158657   .0256228     0.62   0.536     -.034354    .0660854
         country83 |   .0656038   .0293029     2.24   0.025      .008171    .1230365
         country84 |   .0636107   .0240006     2.65   0.008     .0165704     .110651
         country85 |    .057201    .031028     1.84   0.065    -.0036128    .1180148
         country86 |    .041012   .0191104     2.15   0.032     .0035564    .0784676
         country87 |   .0352621   .0220191     1.60   0.109    -.0078945    .0784186
         country88 |   .0033224   .0336761     0.10   0.921    -.0626815    .0693263
         country89 |   .0303539   .0285831     1.06   0.288     -.025668    .0863757
         country90 |   .0492593   .0111387     4.42   0.000     .0274278    .0710908
         country91 |   .0266732   .0177358     1.50   0.133    -.0080883    .0614347
         country92 |   .0139259   .0163014     0.85   0.393    -.0180244    .0458761
         country93 |   .0262947   .0203555     1.29   0.196    -.0136013    .0661907
         country94 |   .0055534   .0207878     0.27   0.789    -.0351898    .0462967
         country95 |  -.0003633   .0255464    -0.01   0.989    -.0504332    .0497067
         country96 |   .0247393   .0196889     1.26   0.209    -.0138503    .0633288
         country97 |  -.0064599   .0088077    -0.73   0.463    -.0237226    .0108028
         country98 |   .0586844   .0114723     5.12   0.000     .0361992    .0811696
         country99 |  -.0050381   .0272177    -0.19   0.853    -.0583838    .0483077
        country100 |  -.0241437   .0321832    -0.75   0.453    -.0872216    .0389342
        country101 |  -.0042605   .0096192    -0.44   0.658    -.0231138    .0145929
        country102 |   .0244595   .0145644     1.68   0.093    -.0040862    .0530051
        country103 |   .0183786   .0096365     1.91   0.056    -.0005086    .0372659
        country104 |   .0184753   .0119708     1.54   0.123    -.0049871    .0419377
        country106 |   .0044582   .0126507     0.35   0.725    -.0203368    .0292532
        country107 |   .0460709   .0103622     4.45   0.000     .0257613    .0663806
        country108 |   .0641584   .0121486     5.28   0.000     .0403475    .0879692
        country109 |  -.0000344    .039395    -0.00   0.999    -.0772473    .0771785
        country110 |   .0041566   .0204086     0.20   0.839    -.0358436    .0441567
        country111 |   -.013846   .0145077    -0.95   0.340    -.0422806    .0145887
        country112 |   -.002729   .0118359    -0.23   0.818    -.0259269    .0204689
        country113 |   .0064468   .0136492     0.47   0.637    -.0203051    .0331987
        country114 |  -.0157153   .0262378    -0.60   0.549    -.0671404    .0357099
        country115 |  -.0248572   .0381659    -0.65   0.515     -.099661    .0499467
        country116 |  -.0064359   .0273475    -0.24   0.814     -.060036    .0471642
        country118 |   .0283428   .0183324     1.55   0.122    -.0075881    .0642736
        country119 |  -.0248237     .02071    -1.20   0.231    -.0654146    .0157671
        country120 |   .0196438   .0216137     0.91   0.363    -.0227183    .0620058
        country121 |   -.013278   .0131134    -1.01   0.311    -.0389798    .0124239
        country122 |  -.0191275   .0363527    -0.53   0.599    -.0903775    .0521224
        country123 |   .0137961   .0273755     0.50   0.614    -.0398589    .0674511
        country124 |  -.0081946   .0237428    -0.35   0.730    -.0547297    .0383405
        country125 |  -.0012953   .0143419    -0.09   0.928     -.029405    .0268144
        country126 |  -.0133183   .0185558    -0.72   0.473     -.049687    .0230503
        country127 |   .0113873   .0164568     0.69   0.489    -.0208673     .043642
        country128 |  -.0113751   .0299845    -0.38   0.704    -.0701436    .0473934
        country129 |   -.026825   .0291114    -0.92   0.357    -.0838823    .0302322
        country130 |   .0136401   .0231028     0.59   0.555    -.0316407    .0589208
        country131 |  -.0133002   .0170575    -0.78   0.436    -.0467323    .0201319
        country132 |  -.0189261   .0294968    -0.64   0.521    -.0767389    .0388866
        country133 |  -.0069315   .0317419    -0.22   0.827    -.0691445    .0552814
        country134 |   .0237099   .0218478     1.09   0.278     -.019111    .0665307
        country135 |   .0422833   .0201042     2.10   0.035     .0028798    .0816868
        country136 |   .0316532   .0208363     1.52   0.129    -.0091851    .0724916
        country137 |   .0291006   .0253952     1.15   0.252    -.0206731    .0788743
             _cons |   .0304398   .0100519     3.03   0.002     .0107383    .0501412
-------------------+----------------------------------------------------------------
rho1               |
             _cons |   .0503737   .0281361     1.79   0.073    -.0047721    .1055195
-------------------+----------------------------------------------------------------
sigma              |
             _cons |   .0327762   .0003663    89.49   0.000     .0320583     .033494
------------------------------------------------------------------------------------
Weighting variables, in order: regsim_st

.          estimates store sp_tax_reg_fe;

.                          spreg1  taxratio open cwar debt inflation  agri oda federal log_gdpenl ethfrac relfrac nwstate instab oil1  
>         pres_dem monarch milit party_aut pers_aut other oilprice2009barrel lag_taxratio country1-country37 country39-country104 country106-country116 country118-coun
> try137, 
>          spatialvars(trade_st) id(ccode_year) rowid(ccode1_year) colid(ccode2_year) ;
Building ID markers...done.
Building W matrices...done.

initial:       log likelihood =  8177.1731
rescale:       log likelihood =  8177.1731
rescale eq:    log likelihood =  8177.1731
Iteration 0:   log likelihood =  8177.1731  
Iteration 1:   log likelihood =  8178.6956  
Iteration 2:   log likelihood =  8178.6996  
Iteration 3:   log likelihood =  8178.6996  

                                                  Number of obs   =       4098
                                                  Wald chi2(155)  =   23356.21
Log likelihood =  8178.6996                       Prob > chi2     =     0.0000

------------------------------------------------------------------------------------
          taxratio |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------------+----------------------------------------------------------------
eq1                |
              open |   .0080298   .0039622     2.03   0.043     .0002641    .0157954
              cwar |   .0008385   .0022728     0.37   0.712     -.003616     .005293
              debt |   .0011748   .0017105     0.69   0.492    -.0021777    .0045272
         inflation |   .0044549   .0019567     2.28   0.023     .0006199    .0082899
              agri |  -.0365013   .0119294    -3.06   0.002    -.0598824   -.0131201
               oda |  -.0596742   .0066992    -8.91   0.000    -.0728044   -.0465441
           federal |  -.0012742   .0034137    -0.37   0.709    -.0079649    .0054164
        log_gdpenl |   .0021393    .002572     0.83   0.406    -.0029017    .0071802
           ethfrac |   .0320336   .0526142     0.61   0.543    -.0710884    .1351556
           relfrac |  -.0504398   .0358334    -1.41   0.159    -.1206719    .0197924
           nwstate |  -.0087131   .0061373    -1.42   0.156    -.0207421    .0033158
            instab |   .0017507   .0016687     1.05   0.294    -.0015199    .0050213
              oil1 |   -.011805   .0031834    -3.71   0.000    -.0180444   -.0055656
          pres_dem |   .0048768    .004345     1.12   0.262    -.0036392    .0133928
           monarch |  -.0068301   .0080118    -0.85   0.394     -.022533    .0088727
             milit |   .0025573   .0038026     0.67   0.501    -.0048957    .0100104
         party_aut |   .0026354   .0037641     0.70   0.484     -.004742    .0100129
          pers_aut |  -.0017382    .003979    -0.44   0.662     -.009537    .0060605
             other |  -.0017469   .0046204    -0.38   0.705    -.0108027    .0073089
oilprice2009barrel |   .0000465   .0000243     1.91   0.056    -1.14e-06    .0000941
      lag_taxratio |   .7491305   .0099687    75.15   0.000     .7295921    .7686688
          country1 |  -.0046906   .0169935    -0.28   0.783    -.0379973     .028616
          country2 |  -.0030604   .0276758    -0.11   0.912     -.057304    .0511832
          country3 |   .0179221   .0155145     1.16   0.248    -.0124859      .04833
          country4 |  -.0070545   .0094947    -0.74   0.457    -.0256638    .0115548
          country5 |   .0430523   .0192795     2.23   0.026     .0052652    .0808393
          country6 |   .0407799    .021861     1.87   0.062    -.0020668    .0836266
          country7 |  -.0140088   .0114701    -1.22   0.222    -.0364897    .0084721
          country8 |  -.0182084   .0236984    -0.77   0.442    -.0646564    .0282395
          country9 |  -.0004719   .0088659    -0.05   0.958    -.0178487     .016905
         country10 |  -.0025326   .0089224    -0.28   0.777    -.0200201    .0149549
         country11 |    .009632   .0094144     1.02   0.306    -.0088199    .0280839
         country12 |   .0013281   .0113283     0.12   0.907    -.0208749    .0235312
         country13 |  -.0115524   .0102595    -1.13   0.260    -.0316607    .0085558
         country14 |  -.0071454   .0108606    -0.66   0.511    -.0284318    .0141411
         country15 |   .0032013   .0091944     0.35   0.728    -.0148194    .0212219
         country16 |  -.0103984   .0226466    -0.46   0.646     -.054785    .0339881
         country17 |  -.0355436   .0238821    -1.49   0.137    -.0823517    .0112645
         country18 |   .0119351   .0133805     0.89   0.372    -.0142901    .0381603
         country19 |    -.03253   .0299647    -1.09   0.278    -.0912597    .0261997
         country20 |  -.0105366   .0082867    -1.27   0.204    -.0267783     .005705
         country21 |  -.0033894   .0083677    -0.41   0.685    -.0197898    .0130111
         country22 |  -.0316058   .0116996    -2.70   0.007    -.0545366   -.0086751
         country23 |   .0271252   .0106145     2.56   0.011     .0063212    .0479293
         country24 |   .0404148    .016678     2.42   0.015     .0077264    .0731031
         country25 |   .0263133   .0095984     2.74   0.006     .0075008    .0451258
         country26 |   .0412521   .0234095     1.76   0.078    -.0046297    .0871339
         country27 |   .0164267    .019673     0.83   0.404    -.0221318    .0549851
         country28 |   .0020771    .009904     0.21   0.834    -.0173344    .0214886
         country29 |  -.0049105   .0189094    -0.26   0.795    -.0419722    .0321511
         country30 |  -.0222092   .0182701    -1.22   0.224    -.0580178    .0135995
         country31 |   .0104649   .0100092     1.05   0.296    -.0091528    .0300826
         country32 |    .012764   .0260816     0.49   0.625    -.0383549    .0638829
         country33 |   .0015596   .0167952     0.09   0.926    -.0313584    .0344775
         country34 |    .003497   .0126571     0.28   0.782    -.0213105    .0283045
         country35 |   .0404231   .0178097     2.27   0.023     .0055166    .0753295
         country36 |   .0143849   .0245309     0.59   0.558    -.0336948    .0624646
         country37 |    .005339   .0091174     0.59   0.558    -.0125307    .0232087
         country39 |  -.0069624   .0128968    -0.54   0.589    -.0322397    .0183149
         country40 |   .0018619   .0126264     0.15   0.883    -.0228854    .0266092
         country41 |  -.0093843    .031269    -0.30   0.764    -.0706704    .0519018
         country42 |   .0212243   .0151675     1.40   0.162    -.0085033     .050952
         country43 |   .0073467   .0260151     0.28   0.778    -.0436419    .0583354
         country44 |   .0038276   .0210537     0.18   0.856     -.037437    .0450921
         country45 |   .0092601    .025486     0.36   0.716    -.0406916    .0592118
         country46 |   .0041352   .0180313     0.23   0.819    -.0312055    .0394759
         country47 |  -.0032457   .0180336    -0.18   0.857    -.0385909    .0320994
         country48 |  -.0032151   .0285507    -0.11   0.910    -.0591734    .0527432
         country49 |  -.0165575   .0183808    -0.90   0.368    -.0525832    .0194681
         country50 |   -.000766   .0082997    -0.09   0.926    -.0170332    .0155011
         country51 |   .0097892   .0101682     0.96   0.336    -.0101402    .0297185
         country52 |   .0293248    .012063     2.43   0.015     .0056817     .052968
         country53 |  -.0015092   .0082945    -0.18   0.856    -.0177661    .0147477
         country54 |   .0693212   .0305516     2.27   0.023     .0094411    .1292013
         country55 |   .0019319   .0311682     0.06   0.951    -.0591566    .0630205
         country56 |   -.001319   .0337215    -0.04   0.969    -.0674119    .0647738
         country57 |   .0045676   .0312933     0.15   0.884     -.056766    .0659013
         country58 |   .0101241   .0221169     0.46   0.647    -.0332242    .0534724
         country59 |  -.0066551    .016232    -0.41   0.682    -.0384691    .0251589
         country60 |   .0071522   .0288726     0.25   0.804     -.049437    .0637414
         country61 |   .0173371   .0318158     0.54   0.586    -.0450208     .079695
         country62 |   .0259093   .0312893     0.83   0.408    -.0354166    .0872352
         country63 |   .0124776   .0240159     0.52   0.603    -.0345927     .059548
         country64 |   .0171084   .0303443     0.56   0.573    -.0423653    .0765821
         country65 |    .000217    .028105     0.01   0.994    -.0548678    .0553019
         country66 |   .0293955     .02525     1.16   0.244    -.0200937    .0788847
         country67 |   .0019051   .0259983     0.07   0.942    -.0490505    .0528608
         country68 |   .0137707   .0326093     0.42   0.673    -.0501424    .0776837
         country69 |   .0101155   .0320524     0.32   0.752    -.0527061    .0729371
         country70 |   .0193601   .0245717     0.79   0.431    -.0287995    .0675197
         country71 |   .0338836   .0250954     1.35   0.177    -.0153024    .0830697
         country72 |   .0062597    .030158     0.21   0.836    -.0528488    .0653682
         country73 |   .0158247   .0230415     0.69   0.492    -.0293358    .0609853
         country74 |   .0033012   .0330899     0.10   0.921    -.0615539    .0681563
         country75 |   -.000679   .0335346    -0.02   0.984    -.0664056    .0650476
         country76 |   .0245988   .0300739     0.82   0.413    -.0343451    .0835426
         country77 |    .025953   .0355831     0.73   0.466    -.0437887    .0956946
         country78 |   .0432201   .0215437     2.01   0.045     .0009952     .085445
         country79 |    .035144   .0169989     2.07   0.039     .0018268    .0684612
         country80 |   .0174072    .010433     1.67   0.095    -.0030411    .0378555
         country81 |   .0102099   .0337648     0.30   0.762    -.0559679    .0763878
         country82 |   .0186973   .0256905     0.73   0.467    -.0316551    .0690498
         country83 |   .0676665   .0293791     2.30   0.021     .0100846    .1252485
         country84 |   .0656262   .0240739     2.73   0.006     .0184423    .1128102
         country85 |   .0590061   .0311219     1.90   0.058    -.0019917     .120004
         country86 |   .0428683   .0191536     2.24   0.025     .0053279    .0804087
         country87 |   .0381946   .0221077     1.73   0.084    -.0051356    .0815248
         country88 |   .0041188   .0337875     0.12   0.903    -.0621035     .070341
         country89 |   .0321108   .0286636     1.12   0.263    -.0240688    .0882903
         country90 |   .0509555    .011138     4.57   0.000     .0291253    .0727856
         country91 |    .027519   .0178215     1.54   0.123    -.0074105    .0624486
         country92 |   .0144308   .0163836     0.88   0.378    -.0176805    .0465422
         country93 |   .0278539   .0204181     1.36   0.173    -.0121647    .0678726
         country94 |   .0062544   .0208566     0.30   0.764    -.0346238    .0471326
         country95 |    .000356   .0256437     0.01   0.989    -.0499047    .0506167
         country96 |   .0251878   .0197587     1.27   0.202    -.0135386    .0639142
         country97 |  -.0054093   .0088386    -0.61   0.541    -.0227328    .0119141
         country98 |   .0584538   .0115118     5.08   0.000     .0358912    .0810164
         country99 |  -.0034407   .0273049    -0.13   0.900    -.0569573    .0500759
        country100 |  -.0233393   .0322896    -0.72   0.470    -.0866257    .0399472
        country101 |  -.0034081   .0096397    -0.35   0.724    -.0223016    .0154853
        country102 |   .0246907   .0146187     1.69   0.091    -.0039614    .0533428
        country103 |   .0198945   .0096316     2.07   0.039      .001017     .038772
        country104 |   .0188823   .0120127     1.57   0.116    -.0046623    .0424268
        country106 |   .0039966   .0126996     0.31   0.753    -.0208942    .0288874
        country107 |   .0453493   .0104082     4.36   0.000     .0249497    .0657489
        country108 |   .0626193    .012176     5.14   0.000     .0387549    .0864838
        country109 |   -.001432   .0395262    -0.04   0.971    -.0789019    .0760379
        country110 |   .0018732   .0204548     0.09   0.927    -.0382174    .0419638
        country111 |  -.0146091   .0146322    -1.00   0.318    -.0432877    .0140695
        country112 |  -.0032984   .0120807    -0.27   0.785    -.0269761    .0203793
        country113 |   .0056998   .0137275     0.42   0.678    -.0212056    .0326053
        country114 |  -.0135003   .0263064    -0.51   0.608      -.06506    .0380594
        country115 |  -.0224972   .0382788    -0.59   0.557    -.0975222    .0525278
        country116 |  -.0040228   .0274105    -0.15   0.883    -.0577464    .0497009
        country118 |   .0305083   .0183633     1.66   0.097     -.005483    .0664997
        country119 |  -.0229197   .0207666    -1.10   0.270    -.0636216    .0177821
        country120 |   .0204456   .0217322     0.94   0.347    -.0221487      .06304
        country121 |  -.0136846   .0132084    -1.04   0.300    -.0395726    .0122034
        country122 |  -.0164757   .0364443    -0.45   0.651    -.0879053    .0549539
        country123 |   .0162855   .0274441     0.59   0.553     -.037504     .070075
        country124 |  -.0059783   .0237897    -0.25   0.802    -.0526053    .0406488
        country125 |   .0007446   .0143443     0.05   0.959    -.0273697    .0288589
        country126 |  -.0109612   .0185709    -0.59   0.555    -.0473595    .0254371
        country127 |   .0133179   .0164772     0.81   0.419    -.0189768    .0456126
        country128 |  -.0087663   .0300641    -0.29   0.771    -.0676908    .0501582
        country129 |   -.025245   .0292065    -0.86   0.387    -.0824886    .0319986
        country130 |   .0147505   .0232104     0.64   0.525     -.030741    .0602421
        country131 |  -.0130624   .0171587    -0.76   0.446    -.0466929    .0205681
        country132 |  -.0173246    .029605    -0.59   0.558    -.0753493       .0407
        country133 |  -.0053539   .0318435    -0.17   0.866     -.067766    .0570581
        country134 |   .0229829   .0219762     1.05   0.296    -.0200896    .0660555
        country135 |   .0439826   .0201638     2.18   0.029     .0044623    .0835028
        country136 |   .0310549   .0209176     1.48   0.138    -.0099428    .0720527
        country137 |   .0302004   .0254732     1.19   0.236    -.0197261    .0801269
             _cons |   .0371651   .0102629     3.62   0.000     .0170502    .0572801
-------------------+----------------------------------------------------------------
rho1               |
             _cons |   .0022139   .0284367     0.08   0.938     -.053521    .0579488
-------------------+----------------------------------------------------------------
sigma              |
             _cons |   .0328857   .0003633    90.53   0.000     .0321738    .0335977
------------------------------------------------------------------------------------
Weighting variables, in order: trade_st

.          estimates store sp_tax_trade_fe;

.                          spreg1  taxratio open cwar debt inflation  agri oda federal log_gdpenl ethfrac relfrac nwstate instab oil1  
>         pres_dem monarch milit party_aut pers_aut other oilprice2009barrel lag_taxratio country1-country37 country39-country104 country106-country116 country118-coun
> try137, 
>          spatialvars(io_ec_st) id(ccode_year) rowid(ccode1_year) colid(ccode2_year) ;
Building ID markers...done.
Building W matrices...done.

initial:       log likelihood =  8177.1731
rescale:       log likelihood =  8177.1731
rescale eq:    log likelihood =  8177.1731
Iteration 0:   log likelihood =  8177.1731  
Iteration 1:   log likelihood =  8183.1722  
Iteration 2:   log likelihood =  8183.2026  
Iteration 3:   log likelihood =  8183.2026  

                                                  Number of obs   =       4098
                                                  Wald chi2(155)  =   23828.10
Log likelihood =  8183.2026                       Prob > chi2     =     0.0000

------------------------------------------------------------------------------------
          taxratio |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------------+----------------------------------------------------------------
eq1                |
              open |   .0081443   .0039576     2.06   0.040     .0003876     .015901
              cwar |   .0004445    .002271     0.20   0.845    -.0040065    .0048955
              debt |   .0002495   .0017297     0.14   0.885    -.0031407    .0036397
         inflation |   .0042239    .001955     2.16   0.031     .0003922    .0080556
              agri |  -.0343505   .0118996    -2.89   0.004    -.0576734   -.0110276
               oda |  -.0608417   .0067026    -9.08   0.000    -.0739784   -.0477049
           federal |  -.0012684   .0034015    -0.37   0.709    -.0079353    .0053985
        log_gdpenl |  -.0003729   .0026723    -0.14   0.889    -.0056105    .0048647
           ethfrac |   .0298356    .052561     0.57   0.570    -.0731822    .1328533
           relfrac |  -.0523535   .0357993    -1.46   0.144    -.1225189    .0178119
           nwstate |  -.0062031   .0061853    -1.00   0.316    -.0183261      .00592
            instab |     .00152   .0016684     0.91   0.362    -.0017501    .0047901
              oil1 |  -.0117008   .0031574    -3.71   0.000    -.0178892   -.0055124
          pres_dem |   .0042206   .0043449     0.97   0.331    -.0042952    .0127364
           monarch |  -.0066555    .007999    -0.83   0.405    -.0223333    .0090224
             milit |   .0017975   .0038066     0.47   0.637    -.0056633    .0092583
         party_aut |   .0028485   .0037589     0.76   0.449    -.0045188    .0102158
          pers_aut |  -.0018173   .0039741    -0.46   0.647    -.0096064    .0059718
             other |  -.0011154   .0046183    -0.24   0.809    -.0101671    .0079363
oilprice2009barrel |   .0000285    .000025     1.14   0.255    -.0000205    .0000774
      lag_taxratio |   .7472254   .0099776    74.89   0.000     .7276697    .7667811
          country1 |   .0004859   .0169882     0.03   0.977    -.0328104    .0337821
          country2 |   .0013577   .0275788     0.05   0.961    -.0526957    .0554111
          country3 |   .0138516    .015541     0.89   0.373    -.0166081    .0443114
          country4 |  -.0094442   .0094148    -1.00   0.316    -.0278969    .0090085
          country5 |   .0424909   .0192495     2.21   0.027     .0047625    .0802193
          country6 |   .0443889   .0218547     2.03   0.042     .0015544    .0872234
          country7 |  -.0133329   .0112652    -1.18   0.237    -.0354123    .0087464
          country8 |  -.0183172   .0236381    -0.77   0.438     -.064647    .0280126
          country9 |  -.0033404   .0088349    -0.38   0.705    -.0206564    .0139756
         country10 |   -.004285    .008821    -0.49   0.627    -.0215738    .0130039
         country11 |   .0099648   .0092785     1.07   0.283    -.0082207    .0281503
         country12 |   .0014055   .0112221     0.13   0.900    -.0205894    .0234004
         country13 |  -.0113819   .0101823    -1.12   0.264    -.0313388     .008575
         country14 |  -.0075222   .0107424    -0.70   0.484     -.028577    .0135325
         country15 |   .0050682   .0090527     0.56   0.576    -.0126749    .0228112
         country16 |  -.0103332   .0225937    -0.46   0.647    -.0546159    .0339496
         country17 |  -.0349514   .0238198    -1.47   0.142    -.0816374    .0117346
         country18 |   .0125749   .0133218     0.94   0.345    -.0135355    .0386852
         country19 |  -.0328939   .0299174    -1.10   0.272    -.0915309    .0257432
         country20 |  -.0128225   .0082987    -1.55   0.122    -.0290876    .0034426
         country21 |  -.0027398   .0082589    -0.33   0.740     -.018927    .0134474
         country22 |  -.0297611   .0116566    -2.55   0.011    -.0526076   -.0069146
         country23 |   .0287225   .0105824     2.71   0.007     .0079814    .0494637
         country24 |   .0445476   .0166994     2.67   0.008     .0118173    .0772779
         country25 |   .0272402   .0095574     2.85   0.004      .008508    .0459724
         country26 |   .0446173   .0234076     1.91   0.057    -.0012607    .0904953
         country27 |   .0200691   .0196858     1.02   0.308    -.0185144    .0586526
         country28 |   .0052719   .0099326     0.53   0.596    -.0141956    .0247394
         country29 |  -.0012386   .0188953    -0.07   0.948    -.0382728    .0357955
         country30 |  -.0206612   .0182557    -1.13   0.258    -.0564418    .0151193
         country31 |   .0101839   .0099985     1.02   0.308    -.0094129    .0297806
         country32 |   .0201629   .0261681     0.77   0.441    -.0311255    .0714514
         country33 |   .0015754   .0167763     0.09   0.925    -.0313056    .0344564
         country34 |   .0057542   .0126085     0.46   0.648    -.0189581    .0304664
         country35 |   .0409952   .0177784     2.31   0.021     .0061502    .0758402
         country36 |   .0139857    .024504     0.57   0.568    -.0340412    .0620126
         country37 |   .0068491   .0090969     0.75   0.452    -.0109805    .0246787
         country39 |  -.0051352   .0128954    -0.40   0.690    -.0304098    .0201393
         country40 |    .002572   .0126096     0.20   0.838    -.0221424    .0272864
         country41 |   -.011689   .0312431    -0.37   0.708    -.0729244    .0495463
         country42 |    .018903   .0151657     1.25   0.213    -.0108211    .0486272
         country43 |   .0082205   .0259869     0.32   0.752    -.0427129    .0591539
         country44 |   .0039388   .0210219     0.19   0.851    -.0372633     .045141
         country45 |   .0098929   .0254561     0.39   0.698    -.0400001    .0597858
         country46 |   .0037097   .0180097     0.21   0.837    -.0315888    .0390081
         country47 |  -.0031198   .0180103    -0.17   0.862    -.0384194    .0321798
         country48 |  -.0057435   .0285297    -0.20   0.840    -.0616607    .0501737
         country49 |  -.0203656    .018403    -1.11   0.268    -.0564348    .0157035
         country50 |   .0013906   .0083214     0.17   0.867     -.014919    .0177001
         country51 |   .0124777    .010185     1.23   0.221    -.0074845      .03244
         country52 |   .0317867   .0120769     2.63   0.008     .0081163     .055457
         country53 |   .0005122   .0083068     0.06   0.951    -.0157689    .0167933
         country54 |   .0682216   .0305037     2.24   0.025     .0084355    .1280077
         country55 |  -.0007136   .0311237    -0.02   0.982    -.0617149    .0602878
         country56 |  -.0054934   .0336821    -0.16   0.870    -.0715091    .0605223
         country57 |   .0028338   .0312568     0.09   0.928    -.0584283     .064096
         country58 |   .0080322   .0220914     0.36   0.716    -.0352661    .0513305
         country59 |  -.0098365   .0162288    -0.61   0.544    -.0416444    .0219714
         country60 |   .0036613    .028834     0.13   0.899    -.0528522    .0601748
         country61 |   .0171863   .0317762     0.54   0.589    -.0450939    .0794665
         country62 |   .0235244    .031251     0.75   0.452    -.0377265    .0847753
         country63 |   .0089816   .0239859     0.37   0.708    -.0380298    .0559931
         country64 |   .0162211   .0303117     0.54   0.593    -.0431888    .0756311
         country65 |  -.0021216   .0280634    -0.08   0.940    -.0571249    .0528818
         country66 |   .0278713   .0252192     1.11   0.269    -.0215575       .0773
         country67 |  -.0013542   .0259664    -0.05   0.958    -.0522474    .0495391
         country68 |   .0124028   .0325594     0.38   0.703    -.0514124     .076218
         country69 |   .0089663   .0320083     0.28   0.779    -.0537687    .0717013
         country70 |   .0211382   .0245505     0.86   0.389    -.0269798    .0692562
         country71 |   .0318256   .0250322     1.27   0.204    -.0172366    .0808878
         country72 |   .0037304   .0301159     0.12   0.901    -.0552956    .0627565
         country73 |   .0166754   .0230127     0.72   0.469    -.0284286    .0617794
         country74 |   .0010071   .0330398     0.03   0.976    -.0637498     .065764
         country75 |  -.0032926   .0334865    -0.10   0.922     -.068925    .0623398
         country76 |    .022259   .0300403     0.74   0.459    -.0366189     .081137
         country77 |   .0227384   .0355396     0.64   0.522    -.0469178    .0923947
         country78 |   .0377009    .021586     1.75   0.081    -.0046068    .0800087
         country79 |   .0308108   .0170264     1.81   0.070    -.0025603     .064182
         country80 |   .0137209   .0103754     1.32   0.186    -.0066144    .0340563
         country81 |    .008171    .033733     0.24   0.809    -.0579446    .0742865
         country82 |   .0143342   .0256704     0.56   0.577    -.0359788    .0646473
         country83 |    .065553   .0293537     2.23   0.026     .0080207    .1230852
         country84 |   .0643945   .0240295     2.68   0.007     .0172975    .1114914
         country85 |   .0578712   .0310823     1.86   0.063    -.0030491    .1187914
         country86 |   .0431169   .0191235     2.25   0.024     .0056355    .0805982
         country87 |   .0342781   .0220423     1.56   0.120     -.008924    .0774801
         country88 |   .0057621    .033753     0.17   0.864    -.0603926    .0719168
         country89 |   .0311173   .0286315     1.09   0.277    -.0249993     .087234
         country90 |   .0469369   .0112034     4.19   0.000     .0249786    .0688951
         country91 |   .0267635   .0177699     1.51   0.132    -.0080648    .0615919
         country92 |   .0133146   .0163394     0.81   0.415      -.01871    .0453392
         country93 |   .0247234   .0204084     1.21   0.226    -.0152763    .0647231
         country94 |   .0074598   .0208338     0.36   0.720    -.0333737    .0482934
         country95 |   -.001106   .0256046    -0.04   0.966    -.0512902    .0490781
         country96 |    .024718   .0197317     1.25   0.210    -.0139554    .0633914
         country97 |  -.0074249   .0088326    -0.84   0.401    -.0247365    .0098867
         country98 |    .059556    .011503     5.18   0.000     .0370104    .0821015
         country99 |  -.0052428   .0272697    -0.19   0.848    -.0586904    .0482047
        country100 |  -.0234112   .0322521    -0.73   0.468    -.0866241    .0398017
        country101 |  -.0044395    .009635    -0.46   0.645    -.0233239    .0144448
        country102 |   .0264455   .0146086     1.81   0.070    -.0021868    .0550777
        country103 |   .0167078   .0096789     1.73   0.084    -.0022625     .035678
        country104 |   .0191439   .0119954     1.60   0.111    -.0043666    .0426544
        country106 |   .0029187   .0126822     0.23   0.818    -.0219379    .0277753
        country107 |   .0476466   .0104058     4.58   0.000     .0272517    .0680415
        country108 |   .0642047   .0121553     5.28   0.000     .0403807    .0880287
        country109 |  -.0024454   .0394774    -0.06   0.951    -.0798197    .0749289
        country110 |   .0064439     .02047     0.31   0.753    -.0336766    .0465644
        country111 |  -.0130141   .0145439    -0.89   0.371    -.0415198    .0154915
        country112 |    .000143   .0119159     0.01   0.990    -.0232118    .0234978
        country113 |   .0066741   .0136763     0.49   0.626    -.0201309    .0334791
        country114 |  -.0164149   .0262858    -0.62   0.532     -.067934    .0351043
        country115 |  -.0258016   .0382446    -0.67   0.500    -.1007597    .0491566
        country116 |  -.0061755   .0273852    -0.23   0.822    -.0598496    .0474986
        country118 |   .0270412   .0183702     1.47   0.141    -.0089638    .0630461
        country119 |  -.0252905   .0207448    -1.22   0.223    -.0659495    .0153684
        country120 |   .0199513   .0216589     0.92   0.357    -.0224993    .0624018
        country121 |  -.0119963   .0131531    -0.91   0.362    -.0377759    .0137832
        country122 |  -.0183646   .0364091    -0.50   0.614    -.0897252     .052996
        country123 |   .0125168   .0274307     0.46   0.648    -.0412463    .0662799
        country124 |   -.007657     .02377    -0.32   0.747    -.0542452    .0389313
        country125 |  -.0030354   .0143836    -0.21   0.833    -.0312267    .0251559
        country126 |   -.015115   .0186016    -0.81   0.416    -.0515735    .0213435
        country127 |   .0121267   .0164631     0.74   0.461    -.0201404    .0443938
        country128 |  -.0125634   .0300434    -0.42   0.676    -.0714474    .0463205
        country129 |  -.0258566   .0291645    -0.89   0.375     -.083018    .0313048
        country130 |   .0160067   .0231519     0.69   0.489    -.0293703    .0613836
        country131 |  -.0117399   .0171019    -0.69   0.492     -.045259    .0217793
        country132 |  -.0177968   .0295508    -0.60   0.547    -.0757153    .0401216
        country133 |  -.0063387   .0318027    -0.20   0.842     -.068671    .0559935
        country134 |   .0272259   .0219396     1.24   0.215    -.0157749    .0702266
        country135 |   .0427315    .020132     2.12   0.034     .0032735    .0821895
        country136 |    .035102   .0209242     1.68   0.093    -.0059087    .0761128
        country137 |    .031437    .025448     1.24   0.217      -.01844    .0813141
             _cons |   .0359635   .0092793     3.88   0.000     .0177764    .0541506
-------------------+----------------------------------------------------------------
rho1               |
             _cons |   .0445413   .0148269     3.00   0.003      .015481    .0736016
-------------------+----------------------------------------------------------------
sigma              |
             _cons |   .0328493   .0003628    90.53   0.000     .0321381    .0335605
------------------------------------------------------------------------------------
Weighting variables, in order: io_ec_st

.          estimates store sp_tax_io_fe;

.                 /*Model 6*/
>         spreg1  taxratio open cwar debt inflation  agri oda federal log_gdpenl ethfrac relfrac nwstate instab oil1  
>         pres_dem monarch milit party_aut pers_aut other oilprice2009barrel lag_taxratio country1-country37 country39-country104 country106-country116 country118-coun
> try137, 
>          spatialvars(cont_st riv_st regsim_st trade_st io_ec_st) id(ccode_year) rowid(ccode1_year) colid(ccode2_year) ;
Building ID markers...done.
Building W matrices...done.

initial:       log likelihood =  8177.1731
rescale:       log likelihood =  8177.1731
rescale eq:    log likelihood =  8177.1731
Iteration 0:   log likelihood =  8177.1731  
Iteration 1:   log likelihood =  8190.0424  
Iteration 2:   log likelihood =  8190.1406  
Iteration 3:   log likelihood =  8190.1407  

                                                  Number of obs   =       4098
                                                  Wald chi2(155)  =   21426.25
Log likelihood =  8190.1407                       Prob > chi2     =     0.0000

------------------------------------------------------------------------------------
          taxratio |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------------+----------------------------------------------------------------
eq1                |
              open |   .0081154   .0039465     2.06   0.040     .0003803    .0158505
              cwar |   .0003775   .0022686     0.17   0.868    -.0040688    .0048239
              debt |   .0003088   .0017394     0.18   0.859    -.0031004    .0037181
         inflation |   .0042904   .0019535     2.20   0.028     .0004617    .0081192
              agri |   -.035308    .011915    -2.96   0.003    -.0586609   -.0119551
               oda |  -.0615214   .0066933    -9.19   0.000    -.0746399   -.0484028
           federal |  -.0011005   .0034216    -0.32   0.748    -.0078067    .0056058
        log_gdpenl |  -.0004818   .0027056    -0.18   0.859    -.0057847     .004821
           ethfrac |   .0353097    .052432     0.67   0.501    -.0674552    .1380745
           relfrac |  -.0582944   .0358366    -1.63   0.104    -.1285328     .011944
           nwstate |  -.0056705   .0061705    -0.92   0.358    -.0177644    .0064234
            instab |   .0019294   .0016676     1.16   0.247     -.001339    .0051978
              oil1 |  -.0117637    .003173    -3.71   0.000    -.0179827   -.0055447
          pres_dem |   .0056628   .0044928     1.26   0.208    -.0031429    .0144686
           monarch |  -.0065575     .00802    -0.82   0.414    -.0222764    .0091613
             milit |   .0026667   .0040314     0.66   0.508    -.0052346    .0105681
         party_aut |   .0037353   .0038349     0.97   0.330    -.0037809    .0112515
          pers_aut |  -.0008134   .0041576    -0.20   0.845    -.0089622    .0073353
             other |   .0020993   .0071361     0.29   0.769    -.0118872    .0160858
oilprice2009barrel |   .0000182   .0000257     0.71   0.480    -.0000322    .0000686
      lag_taxratio |   .7425644   .0100929    73.57   0.000     .7227826    .7623461
          country1 |  -.0002389   .0171411    -0.01   0.989    -.0338348    .0333569
          country2 |   .0008937   .0276423     0.03   0.974    -.0532843    .0550717
          country3 |   .0150574   .0155401     0.97   0.333    -.0154006    .0455155
          country4 |   -.008706   .0095541    -0.91   0.362    -.0274316    .0100197
          country5 |   .0509344   .0193707     2.63   0.009     .0129685    .0889004
          country6 |    .051681   .0219706     2.35   0.019     .0086195    .0947426
          country7 |  -.0136644   .0114345    -1.20   0.232    -.0360756    .0087468
          country8 |  -.0201668   .0236295    -0.85   0.393    -.0664798    .0261462
          country9 |  -.0060193   .0089296    -0.67   0.500    -.0235209    .0114824
         country10 |  -.0042125   .0089456    -0.47   0.638    -.0217455    .0133205
         country11 |   .0071255   .0094204     0.76   0.449    -.0113382    .0255892
         country12 |   -.000845   .0113153    -0.07   0.940    -.0230227    .0213326
         country13 |  -.0115808   .0102436    -1.13   0.258    -.0316579    .0084963
         country14 |  -.0082625   .0108321    -0.76   0.446    -.0294929    .0129679
         country15 |   .0038021   .0092177     0.41   0.680    -.0142642    .0218684
         country16 |  -.0131994   .0225696    -0.58   0.559    -.0574351    .0310363
         country17 |  -.0397141    .023822    -1.67   0.095    -.0864044    .0069761
         country18 |   .0140851   .0133369     1.06   0.291    -.0120548    .0402251
         country19 |  -.0362688   .0298849    -1.21   0.225    -.0948421    .0223046
         country20 |  -.0121816   .0083592    -1.46   0.145    -.0285653     .004202
         country21 |  -.0012169   .0083479    -0.15   0.884    -.0175785    .0151448
         country22 |  -.0336074   .0117142    -2.87   0.004    -.0565668    -.010648
         country23 |   .0301068   .0106005     2.84   0.005     .0093301    .0508835
         country24 |   .0407511   .0167143     2.44   0.015     .0079916    .0735105
         country25 |   .0244194   .0097217     2.51   0.012     .0053653    .0434736
         country26 |   .0451005   .0233431     1.93   0.053    -.0006512    .0908521
         country27 |    .017106   .0196566     0.87   0.384    -.0214203    .0556323
         country28 |   .0039976   .0099726     0.40   0.689    -.0155484    .0235436
         country29 |  -.0020357   .0188745    -0.11   0.914     -.039029    .0349575
         country30 |    -.02552    .018262    -1.40   0.162    -.0613128    .0102729
         country31 |   .0122621   .0100228     1.22   0.221    -.0073823    .0319065
         country32 |    .025747   .0261777     0.98   0.325    -.0255605    .0770544
         country33 |   .0008466   .0167624     0.05   0.960     -.032007    .0337002
         country34 |   .0062416   .0126282     0.49   0.621    -.0185091    .0309924
         country35 |   .0434695   .0177545     2.45   0.014     .0086713    .0782677
         country36 |   .0146593    .024439     0.60   0.549    -.0332403    .0625589
         country37 |    .006706   .0091362     0.73   0.463    -.0112006    .0246126
         country39 |  -.0059585   .0129047    -0.46   0.644    -.0312512    .0193342
         country40 |   .0032286    .012595     0.26   0.798    -.0214571    .0279144
         country41 |  -.0162117   .0312161    -0.52   0.604    -.0773942    .0449708
         country42 |   .0161425   .0151833     1.06   0.288    -.0136162    .0459011
         country43 |   .0051595    .025966     0.20   0.842    -.0457329     .056052
         country44 |   .0055519    .021001     0.26   0.792    -.0356094    .0467131
         country45 |   .0094685   .0253958     0.37   0.709    -.0403064    .0592434
         country46 |   .0019607   .0179774     0.11   0.913    -.0332744    .0371957
         country47 |  -.0037955   .0179818    -0.21   0.833    -.0390392    .0314481
         country48 |  -.0058294   .0284644    -0.20   0.838    -.0616186    .0499597
         country49 |  -.0205844   .0183777    -1.12   0.263    -.0566041    .0154352
         country50 |  -.0004966   .0083988    -0.06   0.953    -.0169581    .0159648
         country51 |   .0116457   .0102048     1.14   0.254    -.0083553    .0316467
         country52 |   .0323459    .012067     2.68   0.007      .008695    .0559968
         country53 |    .005281   .0084035     0.63   0.530    -.0111895    .0217515
         country54 |    .063486   .0304794     2.08   0.037     .0037476    .1232245
         country55 |  -.0063831   .0311228    -0.21   0.837    -.0673826    .0546164
         country56 |  -.0102285   .0336847    -0.30   0.761    -.0762493    .0557922
         country57 |  -.0004331   .0312061    -0.01   0.989     -.061596    .0607297
         country58 |   .0081252   .0220787     0.37   0.713    -.0351482    .0513987
         country59 |   -.013979   .0163376    -0.86   0.392    -.0460002    .0180422
         country60 |   .0013395   .0288086     0.05   0.963    -.0551244    .0578035
         country61 |    .015807    .031707     0.50   0.618    -.0463375    .0779515
         country62 |   .0211194   .0311956     0.68   0.498    -.0400229    .0822617
         country63 |   .0087598   .0239751     0.37   0.715    -.0382306    .0557502
         country64 |   .0146226   .0302362     0.48   0.629    -.0446393    .0738845
         country65 |  -.0050593     .02803    -0.18   0.857     -.059997    .0498785
         country66 |   .0271747    .025222     1.08   0.281    -.0222595    .0766089
         country67 |  -.0041789   .0259831    -0.16   0.872    -.0551048    .0467469
         country68 |   .0112528   .0325028     0.35   0.729    -.0524515    .0749571
         country69 |   .0081734   .0319399     0.26   0.798    -.0544276    .0707745
         country70 |   .0193194   .0244927     0.79   0.430    -.0286853    .0673242
         country71 |   .0336472   .0250584     1.34   0.179    -.0154664    .0827608
         country72 |   .0025532   .0300721     0.08   0.932     -.056387    .0614934
         country73 |   .0140378   .0229836     0.61   0.541    -.0310092    .0590847
         country74 |   -.004063   .0331081    -0.12   0.902    -.0689538    .0608277
         country75 |  -.0051731   .0334944    -0.15   0.877     -.070821    .0604747
         country76 |   .0216347   .0300322     0.72   0.471    -.0372274    .0804967
         country77 |   .0192303   .0355044     0.54   0.588     -.050357    .0888177
         country78 |   .0417692   .0215914     1.93   0.053    -.0005492    .0840875
         country79 |   .0342913   .0170274     2.01   0.044     .0009182    .0676644
         country80 |   .0129882    .010547     1.23   0.218    -.0076836      .03366
         country81 |    .006594   .0336889     0.20   0.845    -.0594351    .0726231
         country82 |   .0131922   .0256778     0.51   0.607    -.0371353    .0635197
         country83 |   .0598228   .0293231     2.04   0.041     .0023505    .1172951
         country84 |   .0600188   .0240343     2.50   0.013     .0129123    .1071253
         country85 |   .0531663   .0310434     1.71   0.087    -.0076775    .1140102
         country86 |   .0385408   .0191531     2.01   0.044     .0010013    .0760802
         country87 |   .0303685   .0221135     1.37   0.170    -.0129731    .0737102
         country88 |   .0000422   .0337074     0.00   0.999     -.066023    .0661074
         country89 |   .0200628    .028784     0.70   0.486    -.0363528    .0764784
         country90 |   .0445498   .0112402     3.96   0.000     .0225194    .0665801
         country91 |   .0214548   .0178208     1.20   0.229    -.0134733    .0563829
         country92 |   .0128622   .0163262     0.79   0.431    -.0191366     .044861
         country93 |    .032878    .020528     1.60   0.109    -.0073562    .0731122
         country94 |   .0143889   .0209156     0.69   0.491     -.026605    .0553828
         country95 |  -.0057012   .0255769    -0.22   0.824     -.055831    .0444287
         country96 |   .0206724   .0197157     1.05   0.294    -.0179696    .0593145
         country97 |  -.0144789   .0093141    -1.55   0.120    -.0327342    .0037763
         country98 |   .0583117   .0114922     5.07   0.000     .0357875     .080836
         country99 |  -.0076713    .027217    -0.28   0.778    -.0610157    .0456731
        country100 |  -.0282688   .0321943    -0.88   0.380    -.0913685     .034831
        country101 |  -.0066733    .009653    -0.69   0.489    -.0255927    .0122462
        country102 |   .0239617    .014739     1.63   0.104    -.0049262    .0528496
        country103 |   .0093166   .0099008     0.94   0.347    -.0100887    .0287219
        country104 |   .0145439   .0121394     1.20   0.231    -.0092489    .0383368
        country106 |  -.0009535    .012789    -0.07   0.941    -.0260194    .0241125
        country107 |   .0459203    .010521     4.36   0.000     .0252996     .066541
        country108 |   .0647543   .0122288     5.30   0.000     .0407862    .0887223
        country109 |  -.0030748   .0393846    -0.08   0.938    -.0802673    .0741176
        country110 |   .0012314   .0205323     0.06   0.952    -.0390112     .041474
        country111 |  -.0153793   .0146297    -1.05   0.293    -.0440529    .0132943
        country112 |  -.0049595   .0122024    -0.41   0.684    -.0288757    .0189567
        country113 |   .0030557   .0137553     0.22   0.824    -.0239042    .0300155
        country114 |  -.0199212   .0262477    -0.76   0.448    -.0713657    .0315233
        country115 |  -.0280153    .038161    -0.73   0.463    -.1028095     .046779
        country116 |  -.0065752   .0273376    -0.24   0.810    -.0601559    .0470054
        country118 |    .029688   .0184376     1.61   0.107     -.006449     .065825
        country119 |  -.0269991   .0207382    -1.30   0.193    -.0676453    .0136472
        country120 |   .0256364   .0217985     1.18   0.240     -.017088    .0683607
        country121 |  -.0074326   .0133103    -0.56   0.577    -.0335203    .0186552
        country122 |  -.0210955   .0363551    -0.58   0.562    -.0923502    .0501591
        country123 |   .0118159   .0273833     0.43   0.666    -.0418543    .0654862
        country124 |  -.0088424   .0237359    -0.37   0.709    -.0553639    .0376791
        country125 |  -.0014089   .0143773    -0.10   0.922     -.029588    .0267702
        country126 |  -.0169201   .0185723    -0.91   0.362    -.0533211     .019481
        country127 |   .0178766   .0165565     1.08   0.280    -.0145736    .0503268
        country128 |  -.0153015   .0300019    -0.51   0.610    -.0741041     .043501
        country129 |  -.0298034   .0291262    -1.02   0.306    -.0868898    .0272829
        country130 |   .0147313   .0231591     0.64   0.525    -.0306597    .0601223
        country131 |  -.0137181   .0171185    -0.80   0.423    -.0472697    .0198336
        country132 |  -.0179844   .0295393    -0.61   0.543    -.0758803    .0399116
        country133 |   -.011406   .0317746    -0.36   0.720    -.0736831     .050871
        country134 |   .0352244   .0221232     1.59   0.111    -.0081363     .078585
        country135 |   .0437133   .0201166     2.17   0.030     .0042855    .0831411
        country136 |   .0434971   .0210625     2.07   0.039     .0022153    .0847789
        country137 |   .0377505   .0254932     1.48   0.139    -.0122152    .0877162
             _cons |   .0337306   .0110054     3.06   0.002     .0121604    .0553008
-------------------+----------------------------------------------------------------
rho1               |
             _cons |   .0393193   .0122591     3.21   0.001     .0152918    .0633467
-------------------+----------------------------------------------------------------
rho2               |
             _cons |    .013897    .011304     1.23   0.219    -.0082583    .0360524
-------------------+----------------------------------------------------------------
rho3               |
             _cons |   .0157382   .0303419     0.52   0.604    -.0437307    .0752072
-------------------+----------------------------------------------------------------
rho4               |
             _cons |  -.0177465     .02864    -0.62   0.535      -.07388     .038387
-------------------+----------------------------------------------------------------
rho5               |
             _cons |    .030451   .0160422     1.90   0.058     -.000991    .0618931
-------------------+----------------------------------------------------------------
sigma              |
             _cons |   .0327543   .0003664    89.39   0.000     .0320361    .0334725
------------------------------------------------------------------------------------
Weighting variables, in order: cont_st riv_st regsim_st trade_st io_ec_st

.         estimates store sp_tax_fe;

.          matrix b=e(b);

. svmat b, names(b_fe);

. #delimit;
delimiter now ;
. matrix V=e(V);

. svmat V, names(V_fe);

. /*Model 7*/     
>         spreg1  taxratio open cwar debt inflation  agri oda federal log_gdpenl ethfrac relfrac nwstate instab oil1  
>         pres_dem monarch milit party_aut pers_aut other oilprice2009barrel lag_taxratio, 
>          spatialvars(cont_st riv_st regsim_st trade_st io_ec_st) id(ccode_year) rowid(ccode1_year) colid(ccode2_year) ;
Building ID markers...done.
Building W matrices...done.

initial:       log likelihood =  7969.5079
rescale:       log likelihood =  7969.5079
rescale eq:    log likelihood =  7969.5079
Iteration 0:   log likelihood =  7969.5079  
Iteration 1:   log likelihood =  7982.4244  
Iteration 2:   log likelihood =  7982.4676  
Iteration 3:   log likelihood =  7982.4676  

                                                  Number of obs   =       4098
                                                  Wald chi2(21)   =   18901.36
Log likelihood =  7982.4676                       Prob > chi2     =     0.0000

------------------------------------------------------------------------------------
          taxratio |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------------+----------------------------------------------------------------
eq1                |
              open |   .0040705   .0016024     2.54   0.011     .0009299    .0072112
              cwar |  -.0019913   .0015848    -1.26   0.209    -.0050974    .0011147
              debt |  -.0004961   .0014653    -0.34   0.735    -.0033681    .0023759
         inflation |   .0022124   .0017396     1.27   0.203    -.0011971    .0056219
              agri |   -.031095   .0068865    -4.52   0.000    -.0445923   -.0175977
               oda |  -.0232797   .0049948    -4.66   0.000    -.0330693     -.01349
           federal |  -.0026137   .0017103    -1.53   0.126    -.0059658    .0007384
        log_gdpenl |  -.0046379   .0011908    -3.89   0.000    -.0069717    -.002304
           ethfrac |  -.0013678   .0023641    -0.58   0.563    -.0060013    .0032657
           relfrac |   .0037991   .0028441     1.34   0.182    -.0017752    .0093733
           nwstate |   .0015292   .0063798     0.24   0.811    -.0109751    .0140335
            instab |   .0002538   .0016255     0.16   0.876    -.0029321    .0034397
              oil1 |  -.0003008   .0017446    -0.17   0.863    -.0037203    .0031186
          pres_dem |  -.0048151   .0024353    -1.98   0.048    -.0095881   -.0000421
           monarch |  -.0068116   .0029187    -2.33   0.020     -.012532   -.0010911
             milit |  -.0068001   .0025993    -2.62   0.009    -.0118946   -.0017056
         party_aut |  -.0044213   .0020324    -2.18   0.030    -.0084048   -.0004379
          pers_aut |  -.0066616   .0025673    -2.59   0.009    -.0116935   -.0016297
             other |  -.0123007   .0061664    -1.99   0.046    -.0243867   -.0002147
oilprice2009barrel |   1.42e-06    .000026     0.05   0.957    -.0000496    .0000524
      lag_taxratio |   .8805462   .0073476   119.84   0.000     .8661453    .8949472
             _cons |   .0249371   .0062409     4.00   0.000     .0127052     .037169
-------------------+----------------------------------------------------------------
rho1               |
             _cons |   .0263744   .0074087     3.56   0.000     .0118536    .0408953
-------------------+----------------------------------------------------------------
rho2               |
             _cons |   .0058503   .0072981     0.80   0.423    -.0084537    .0201544
-------------------+----------------------------------------------------------------
rho3               |
             _cons |   -.024387   .0298741    -0.82   0.414    -.0829392    .0341651
-------------------+----------------------------------------------------------------
rho4               |
             _cons |   .0283798   .0189836     1.49   0.135    -.0088274     .065587
-------------------+----------------------------------------------------------------
rho5               |
             _cons |   .0241519   .0152161     1.59   0.112     -.005671    .0539748
-------------------+----------------------------------------------------------------
sigma              |
             _cons |   .0345405    .000386    89.49   0.000      .033784     .035297
------------------------------------------------------------------------------------
Weighting variables, in order: cont_st riv_st regsim_st trade_st io_ec_st

.         estimates store sp_tax;

.          matrix b=e(b);

. svmat b, names(b);

. matrix V=e(V);

. svmat V, names(V);

. save tax_estimates.dta, replace;
file tax_estimates.dta saved

. /*Table 2. Multi-parametric Spatio-Temporal Autoregression on Tax Ratio, 1960-1999 */
> estout sp_tax_cont_fe sp_tax_riv_fe sp_tax_trade_fe sp_tax_reg_fe sp_tax_io_fe  sp_tax_fe sp_tax using "tables/table1", replace style(tex)
>         stats(ll N )
>         cells(b(fmt(3) star) se(par))
>         modelwidth(8)
>         starlevels(* 0.1 ** 0.05 *** 0.01) legend
>         varwidth(30)
>         order(lag_taxratio open cwar debt inflation  agri oda federal log_gdpenl ethfrac relfrac nwstate instab oil1  
>         pres_dem monarch milit party_aut pers_aut other oilprice2009barrel)
>         collabels(, none)
>         varlabels(lag_taxratio  "Tax Ratio (t-1)"
>           open          "Trade Openness"
>           cwar          "Civil War"
>           debt          "Debt"
>           inflation             "Inflation"
>           agri          "Agricultural Dev."
>           oda           "Foreign Aid"
>           federal       "Federalism"
>           log_gdpenl    "GDP/cap."
>           ethfrac     "Ethnic Fract."
>           relfrac     "Relig. Fract."
>           nwstate     "New State"
>           instab      "Instability"
>           oil1       "Oil"
>       pres_dem    "Presidential Dem."
>           monarch     "Monarchy"
>           milit       "Military Regime"
>           party_aut   "Single-party Regime"
>           pers_aut    "Personalist Regime"
>           other       "Other Regime"
>           oilprice2009barrel "Global Oil Price");
(output written to tables/table1)

.          log close;
      name:  <unnamed>
       log:  C:\Users\mdnieman\Dropbox\Spatial Tax Policy\TCN2014_PSRM replication\tables1&2.log
  log type:  text
 closed on:  18 Dec 2014, 19:44:05
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
